diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-03 07:53:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-03 07:53:10 +0800 |
commit | b0be8474162bd3d12669600f4072c422089bc77a (patch) | |
tree | 19fd198b0e8ca5a4ef8102b8c0ae3d69113ac768 | |
parent | 570ab249b304bf6612e82839b3d8564930ea0dce (diff) | |
download | dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar.gz dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar.bz2 dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar.lz dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar.xz dexon-b0be8474162bd3d12669600f4072c422089bc77a.tar.zst dexon-b0be8474162bd3d12669600f4072c422089bc77a.zip |
Updated to use the state on the blocks
-rw-r--r-- | dev_console.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev_console.go b/dev_console.go index 09e06aa22..5a69ffa9e 100644 --- a/dev_console.go +++ b/dev_console.go @@ -158,7 +158,7 @@ func (i *Console) ParseInput(input string) bool { fmt.Println(value) case "getaddr": encoded, _ := hex.DecodeString(tokens[1]) - addr := i.ethereum.BlockManager.BlockChain().CurrentBlock.GetAddr(encoded) + addr := i.ethereum.BlockManager.BlockChain().CurrentBlock.State().GetAccount(encoded) fmt.Println("addr:", addr) case "block": encoded, _ := hex.DecodeString(tokens[1]) |