From ac3371bcb69b090fa9b5a8da96916fa0aa15ed0f Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Thu, 2 Apr 2015 22:54:55 +0200 Subject: Correct accounts hex in XETH API --- xeth/xeth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xeth/xeth.go') 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 } -- cgit