From b0be8474162bd3d12669600f4072c422089bc77a Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 3 Mar 2014 00:53:10 +0100 Subject: Updated to use the state on the blocks --- dev_console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit