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
1 changed files with 1 additions and 2 deletions

View File

@ -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,