Commit 940952f7 authored by Gustav Simonsson's avatar Gustav Simonsson

Fix HEX hack in xeth accounts()

parent f98e002d
...@@ -365,7 +365,7 @@ func (self *XEth) Accounts() []string { ...@@ -365,7 +365,7 @@ func (self *XEth) Accounts() []string {
accounts, _ := self.backend.AccountManager().Accounts() accounts, _ := self.backend.AccountManager().Accounts()
accountAddresses := make([]string, len(accounts)) accountAddresses := make([]string, len(accounts))
for i, ac := range accounts { for i, ac := range accounts {
accountAddresses[i] = "0x" + ac.Address.Hex() // wtf accountAddresses[i] = ac.Address.Hex()
} }
return accountAddresses return accountAddresses
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment