diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-25 22:57:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-25 22:57:35 +0800 |
commit | d753eb77ec1e2298a8b386f0ddae5e34d450b805 (patch) | |
tree | 15a24a70c4d01a6d7ac56baa4011e7ac5a88e344 /dev_console.go | |
parent | 42e8930b37ddd89d17a069912a91df13f41df244 (diff) | |
download | go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar.gz go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar.bz2 go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar.lz go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar.xz go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.tar.zst go-tangerine-d753eb77ec1e2298a8b386f0ddae5e34d450b805.zip |
Removed the last block of the block chain
Added CurrentBlock to block manager
Diffstat (limited to 'dev_console.go')
-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 1817ca9a8..6beafc447 100644 --- a/dev_console.go +++ b/dev_console.go @@ -122,7 +122,7 @@ func (i *Console) ParseInput(input string) bool { fmt.Printf("%q\n", d) case "getaddr": encoded, _ := hex.DecodeString(tokens[1]) - d := i.ethereum.BlockManager.BlockChain().LastBlock.State().Get(string(encoded)) + d := i.ethereum.BlockManager.CurrentBlock.State().Get(string(encoded)) if d != "" { decoder := ethutil.NewRlpDecoder([]byte(d)) fmt.Println(decoder) |