Correct accounts hex in XETH API

pull/631/head
Gustav Simonsson 10 years ago
parent da9fe951da
commit ac3371bcb6
  1. 2
      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
}

Loading…
Cancel
Save