diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-24 23:35:10 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:22:17 +0800 |
commit | 940952f75741b3bfcfe290102874d24ccb11c3d0 (patch) | |
tree | a8c234b7fdcc36f95173e5ca6c2c4822872579a1 | |
parent | f98e002d9851b8df53a09a0e3189f2e8fdec48df (diff) | |
download | go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar.gz go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar.bz2 go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar.lz go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar.xz go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.tar.zst go-tangerine-940952f75741b3bfcfe290102874d24ccb11c3d0.zip |
Fix HEX hack in xeth accounts()
-rw-r--r-- | xeth/xeth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 3b29eb3f7..28ca05f47 100644 --- a/xeth/xeth.go +++ b/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] = "0x" + ac.Address.Hex() // wtf + accountAddresses[i] = ac.Address.Hex() } return accountAddresses } |