aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-03 07:53:10 +0800
committerobscuren <geffobscura@gmail.com>2014-03-03 07:53:10 +0800
commitb0be8474162bd3d12669600f4072c422089bc77a (patch)
tree19fd198b0e8ca5a4ef8102b8c0ae3d69113ac768
parent570ab249b304bf6612e82839b3d8564930ea0dce (diff)
downloaddexon-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.go2
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])