diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-27 05:49:22 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-27 05:52:22 +0800 |
commit | b375bbee5fa0b04867cdecdc28e66078a2e32280 (patch) | |
tree | 574aecb617218dc7fe9f7d1c0b0a8b32a195f3fa /xeth/xeth.go | |
parent | b0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff) | |
download | dexon-b375bbee5fa0b04867cdecdc28e66078a2e32280.tar.gz 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/xeth.go')
-rw-r--r-- | xeth/xeth.go | 4 |
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 { |