diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/packages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/packages.go b/rpc/packages.go index d8dae003f..3fba7ae4f 100644 --- a/rpc/packages.go +++ b/rpc/packages.go @@ -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 } |