aboutsummaryrefslogtreecommitdiffstats
path: root/dev_console.go
diff options
context:
space:
mode:
Diffstat (limited to 'dev_console.go')
-rw-r--r--dev_console.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev_console.go b/dev_console.go
index 91d911ec2..74ba343cd 100644
--- a/dev_console.go
+++ b/dev_console.go
@@ -128,7 +128,7 @@ func (i *Console) ParseInput(input string) bool {
fmt.Printf("%q\n", d)
case "getaddr":
encoded, _ := hex.DecodeString(tokens[1])
- d := i.ethereum.BlockManager.CurrentBlock.State().Get(string(encoded))
+ d := i.ethereum.BlockManager.BlockChain().CurrentBlock.State().Get(string(encoded))
if d != "" {
decoder := ethutil.NewRlpDecoder([]byte(d))
fmt.Println(decoder)