aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-01 17:42:02 +0800
committerobscuren <geffobscura@gmail.com>2015-04-01 17:42:02 +0800
commitf468364e4d3545d445ed5027539426900b440dd9 (patch)
treefc28901e1c93bee9e5fdc96336769f5d22d86da3 /core
parent0a554a1f27ece4235d180373643482ceb57d90ca (diff)
downloaddexon-f468364e4d3545d445ed5027539426900b440dd9.tar
dexon-f468364e4d3545d445ed5027539426900b440dd9.tar.gz
dexon-f468364e4d3545d445ed5027539426900b440dd9.tar.bz2
dexon-f468364e4d3545d445ed5027539426900b440dd9.tar.lz
dexon-f468364e4d3545d445ed5027539426900b440dd9.tar.xz
dexon-f468364e4d3545d445ed5027539426900b440dd9.tar.zst
dexon-f468364e4d3545d445ed5027539426900b440dd9.zip
fixed tests
Diffstat (limited to 'core')
-rw-r--r--core/state/state_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state/state_test.go b/core/state/state_test.go
index a3d3973de..da597d773 100644
--- a/core/state/state_test.go
+++ b/core/state/state_test.go
@@ -68,7 +68,7 @@ func TestNull(t *testing.T) {
state := New(common.Hash{}, db)
address := common.HexToAddress("0x823140710bf13990e4500136726d8b55")
- state.NewStateObject(address)
+ state.CreateAccount(address)
//value := common.FromHex("0x823140710bf13990e4500136726d8b55")
value := make([]byte, 16)
state.SetState(address, common.Hash{}, value)