deserialized to pod_account conversion
This commit is contained in:
parent
7dbf23829e
commit
e99753d6e3
@ -96,7 +96,7 @@ impl From<ethjson::spec::Account> for PodAccount {
|
||||
PodAccount {
|
||||
balance: a.balance.map_or_else(U256::zero, Into::into),
|
||||
nonce: a.nonce.map_or_else(U256::zero, Into::into),
|
||||
code: Some(vec![]),
|
||||
code: a.code.map(|c| c.into()).or(Some(Vec::new())),
|
||||
storage: BTreeMap::new()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user