use account_pair in feed

This commit is contained in:
Robert Habermeier 2016-06-15 18:41:02 +02:00
parent 0e3a15cadb
commit 25f1f22c86

View File

@ -322,8 +322,8 @@ impl<'a> StateRebuilder<'a> {
let rlp = UntrustedRlp::new(&self.snappy_buffer[..len]); let rlp = UntrustedRlp::new(&self.snappy_buffer[..len]);
for account_pair in rlp.iter() { for account_pair in rlp.iter() {
let hash: H256 = try!(rlp.val_at(0)); let hash: H256 = try!(account_pair.val_at(0));
let fat_rlp = try!(rlp.at(1)); let fat_rlp = try!(account_pair.at(1));
let thin_rlp = { let thin_rlp = {
let mut acct_db = AccountDBMut::from_hash(self.db, hash); let mut acct_db = AccountDBMut::from_hash(self.db, hash);