aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-27 05:49:22 +0800
committerzelig <viktor.tron@gmail.com>2015-03-27 05:52:22 +0800
commitb375bbee5fa0b04867cdecdc28e66078a2e32280 (patch)
tree574aecb617218dc7fe9f7d1c0b0a8b32a195f3fa /xeth
parentb0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff)
downloaddexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.gz
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.bz2
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.lz
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.xz
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.zst
dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.zip
settable etherbase
- etherbase flag for block reward destination - coinbase => etherbase - CLI- eth Config -> eth, xeth -> RPC / Miner - use primary instead of coinbase as the unlock magic wildcard - accounts: firstAddr/Coinbase -> Primary
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 bf30fc2fc..3a9855bf3 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -250,8 +250,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 {