diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-18 20:29:53 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-18 20:29:53 +0800 |
commit | 2cea41065609dbebdd3856a00e9333566945ebee (patch) | |
tree | db3dc8b4fe4b07b9f24493e70def40812dad1686 /tests/block_test_util.go | |
parent | 53a6145a2bd6f733799375700d117c9674e8207b (diff) | |
parent | 430bcdb21959e018fbc93bac0ccd8bbfa2fd5afb (diff) | |
download | go-tangerine-2cea41065609dbebdd3856a00e9333566945ebee.tar.gz go-tangerine-2cea41065609dbebdd3856a00e9333566945ebee.tar.zst go-tangerine-2cea41065609dbebdd3856a00e9333566945ebee.zip |
Merge pull request #1282 from obscuren/state-cleanup
core/state: cleanup & optimisations
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r-- | tests/block_test_util.go | 2 |
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 |