aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-03-27 19:12:05 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-03-27 19:12:05 +0800
commit0b4b2b81f93d1b7762a9fda6a464bdee67d286de (patch)
tree4cbf812f513daa35c72c7487e4b912d2ffe31324 /xeth
parent54a14d5c9d7d1e5039753eac991cd057a5514fe8 (diff)
parentb375bbee5fa0b04867cdecdc28e66078a2e32280 (diff)
downloadgo-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.gz
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.bz2
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.lz
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.xz
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.zst
go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.zip
Merge pull request #580 from ethersphere/frontier/cli-key
settable etherbase
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 8bdeddbc9..8ae1ee60d 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -260,8 +260,8 @@ func (self *XEth) IsListening() bool {
}
func (self *XEth) Coinbase() string {
- cb, _ := self.backend.AccountManager().Coinbase()
- return common.ToHex(cb)
+ eb, _ := self.backend.Etherbase()
+ return eb.Hex()
}
func (self *XEth) NumberToHuman(balance string) string {