aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-02 18:57:04 +0800
committerobscuren <geffobscura@gmail.com>2015-04-02 18:57:04 +0800
commit0f3bf7ef4de95b8012eb9bba717323b9e89c5908 (patch)
tree611678435f88b26e0f111e1a485b015085fd30fc /xeth/xeth.go
parent7e13ee602e003ad2a3db6d822d24f220f23d632e (diff)
downloaddexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar.gz
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar.bz2
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar.lz
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar.xz
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.tar.zst
dexon-0f3bf7ef4de95b8012eb9bba717323b9e89c5908.zip
Fixes for balance
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 0a813ec99..d9a34695a 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -312,7 +312,7 @@ func (self *XEth) StorageAt(addr, storageAddr string) string {
}
func (self *XEth) BalanceAt(addr string) string {
- return self.State().state.GetBalance(common.HexToAddress(addr)).String()
+ return common.ToHex(self.State().state.GetBalance(common.HexToAddress(addr)).Bytes())
}
func (self *XEth) TxCountAt(address string) int {