From e99753d6e35bf88286abbdbedb884431eb17bc6a Mon Sep 17 00:00:00 2001 From: keorn Date: Mon, 1 Aug 2016 13:35:45 +0200 Subject: [PATCH] deserialized to pod_account conversion --- ethcore/src/pod_account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/pod_account.rs b/ethcore/src/pod_account.rs index 833ae9b6b..4e7d494d4 100644 --- a/ethcore/src/pod_account.rs +++ b/ethcore/src/pod_account.rs @@ -96,7 +96,7 @@ impl From 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() } }