mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 17:43:48 +00:00
Updated to use the state on the blocks
This commit is contained in:
parent
570ab249b3
commit
b0be847416
1 changed files with 1 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in a new issue