Updated the VM & VM tests
* Stack Error shouldn't revert to previous state * Updated VM Test tool * Added Transfer method to VM Env
This commit is contained in:
@ -296,7 +296,7 @@ func (p *EthereumApi) GetBalanceAt(args *GetBalanceArgs, reply *string) error {
|
||||
return err
|
||||
}
|
||||
state := p.pipe.World().SafeGet(ethutil.Hex2Bytes(args.Address))
|
||||
*reply = NewSuccessRes(BalanceRes{Balance: state.Balance.String(), Address: args.Address})
|
||||
*reply = NewSuccessRes(BalanceRes{Balance: state.Balance().String(), Address: args.Address})
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user