get rid of populatable and bytesconvertable traits (#2019)
This commit is contained in:
committed by
Arkadiy Paronyan
parent
3439c06a1c
commit
9a5668f802
@@ -231,7 +231,7 @@ impl Spec {
|
||||
{
|
||||
let mut t = SecTrieDBMut::new(db, &mut root);
|
||||
for (address, account) in self.genesis_state.get().iter() {
|
||||
try!(t.insert(address.as_slice(), &account.rlp()));
|
||||
try!(t.insert(&**address, &account.rlp()));
|
||||
}
|
||||
}
|
||||
for (address, account) in self.genesis_state.get().iter() {
|
||||
|
||||
Reference in New Issue
Block a user