mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
Fix HEX hack in xeth accounts()
This commit is contained in:
parent
f98e002d98
commit
940952f757
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user