aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-04-03 04:54:55 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-12 23:19:39 +0800
commitac3371bcb69b090fa9b5a8da96916fa0aa15ed0f (patch)
tree74175282ba75a81b60f67b769201059dcc76b763 /xeth/xeth.go
parentda9fe951da4005761a014316c46771d628dc058e (diff)
downloadgo-tangerine-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.tar.gz
go-tangerine-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.tar.zst
go-tangerine-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.zip
Correct accounts hex in XETH API
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 74110c4ec..7e6a2c184 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -365,7 +365,7 @@ func (self *XEth) Accounts() []string {
accounts, _ := self.backend.AccountManager().Accounts()
accountAddresses := make([]string, len(accounts))
for i, ac := range accounts {
- accountAddresses[i] = ac.Address.Str()
+ accountAddresses[i] = "0x" + ac.Address.Hex() // wtf
}
return accountAddresses
}