From f3c1643090c914d178a9b0be1715769558bed380 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Thu, 16 Jun 2016 19:47:05 +0200 Subject: [PATCH] encode the account storage rlp with "append_raw" --- ethcore/src/snapshot/account.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ethcore/src/snapshot/account.rs b/ethcore/src/snapshot/account.rs index c514da405..d39c612e8 100644 --- a/ethcore/src/snapshot/account.rs +++ b/ethcore/src/snapshot/account.rs @@ -96,7 +96,7 @@ impl Account { } } - account_stream.append(&pairs_rlp); + account_stream.append_raw(&pairs_rlp, 1); Ok(account_stream.out()) } @@ -126,7 +126,6 @@ impl Account { storage_trie.insert(&k, &v); } } - Ok(Account { nonce: nonce, balance: balance,