Skip to content

Commit 940952f

Browse files
author
Gustav Simonsson
committed
Fix HEX hack in xeth accounts()
1 parent f98e002 commit 940952f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xeth/xeth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ func (self *XEth) Accounts() []string {
365365
accounts, _ := self.backend.AccountManager().Accounts()
366366
accountAddresses := make([]string, len(accounts))
367367
for i, ac := range accounts {
368-
accountAddresses[i] = "0x" + ac.Address.Hex() // wtf
368+
accountAddresses[i] = ac.Address.Hex()
369369
}
370370
return accountAddresses
371371
}

0 commit comments

Comments
 (0)