From 940952f75741b3bfcfe290102874d24ccb11c3d0 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Fri, 24 Apr 2015 17:35:10 +0200 Subject: [PATCH] Fix HEX hack in xeth accounts() --- xeth/xeth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xeth/xeth.go b/xeth/xeth.go index 3b29eb3f7..28ca05f47 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] = "0x" + ac.Address.Hex() // wtf + accountAddresses[i] = ac.Address.Hex() } return accountAddresses }