Commit ac3371bc authored by Gustav Simonsson's avatar Gustav Simonsson

Correct accounts hex in XETH API

parent da9fe951
......@@ -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
}
......
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