encode the account storage rlp with "append_raw"

This commit is contained in:
Robert Habermeier 2016-06-16 19:47:05 +02:00
parent e4867d7cb9
commit f3c1643090

View File

@ -96,7 +96,7 @@ impl Account {
} }
} }
account_stream.append(&pairs_rlp); account_stream.append_raw(&pairs_rlp, 1);
Ok(account_stream.out()) Ok(account_stream.out())
} }
@ -126,7 +126,6 @@ impl Account {
storage_trie.insert(&k, &v); storage_trie.insert(&k, &v);
} }
} }
Ok(Account { Ok(Account {
nonce: nonce, nonce: nonce,
balance: balance, balance: balance,