diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-03 04:54:55 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:19:39 +0800 |
commit | ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f (patch) | |
tree | 74175282ba75a81b60f67b769201059dcc76b763 /xeth/xeth.go | |
parent | da9fe951da4005761a014316c46771d628dc058e (diff) | |
download | dexon-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.tar.gz dexon-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.tar.zst dexon-ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f.zip |
Correct accounts hex in XETH API
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 2 |
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 } |