From 25f1f22c86ce75f3f4ff589961cc9108d6dcb483 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Wed, 15 Jun 2016 18:41:02 +0200 Subject: [PATCH] use account_pair in feed --- ethcore/src/snapshot/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/src/snapshot/mod.rs b/ethcore/src/snapshot/mod.rs index 06945b9d5..8e5ca72b2 100644 --- a/ethcore/src/snapshot/mod.rs +++ b/ethcore/src/snapshot/mod.rs @@ -322,8 +322,8 @@ impl<'a> StateRebuilder<'a> { let rlp = UntrustedRlp::new(&self.snappy_buffer[..len]); for account_pair in rlp.iter() { - let hash: H256 = try!(rlp.val_at(0)); - let fat_rlp = try!(rlp.at(1)); + let hash: H256 = try!(account_pair.val_at(0)); + let fat_rlp = try!(account_pair.at(1)); let thin_rlp = { let mut acct_db = AccountDBMut::from_hash(self.db, hash);