mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-03 01:53:48 +00:00
Fix HEX hack in xeth accounts()
This commit is contained in:
parent
f98e002d98
commit
940952f757
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue