Fix HEX hack in xeth accounts()

This commit is contained in:
Gustav Simonsson 2015-04-24 17:35:10 +02:00
parent f98e002d98
commit 940952f757

View File

@ -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
}