encode the account storage rlp with "append_raw"
This commit is contained in:
parent
e4867d7cb9
commit
f3c1643090
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user