From a977f3c0dc050463e2b3c8622d289a23f0d1ce02 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 17 Jun 2015 11:44:40 +0200 Subject: xeth, tests: fixed api --- tests/block_test_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/block_test_util.go b/tests/block_test_util.go index ae2ae4033..200fcbd59 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -124,7 +124,7 @@ func (t *BlockTest) InsertPreState(ethereum *eth.Ethereum) (*state.StateDB, erro obj.SetBalance(balance) obj.SetNonce(nonce) for k, v := range acct.Storage { - statedb.SetState(common.HexToAddress(addrString), common.HexToHash(k), common.FromHex(v)) + statedb.SetState(common.HexToAddress(addrString), common.HexToHash(k), common.HexToHash(v)) } } // sync objects to trie -- cgit