aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-17 17:44:40 +0800
committerobscuren <geffobscura@gmail.com>2015-06-17 17:44:40 +0800
commita977f3c0dc050463e2b3c8622d289a23f0d1ce02 (patch)
treec7dbd7c84519ab510ea7e8778ac611176473f169 /tests/block_test_util.go
parent30b27336ea73f7d65c62363047fa37fdd0a54de1 (diff)
downloaddexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.gz
dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.tar.zst
dexon-a977f3c0dc050463e2b3c8622d289a23f0d1ce02.zip
xeth, tests: fixed api
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r--tests/block_test_util.go2
1 files changed, 1 insertions, 1 deletions
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