aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 16:58:47 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 16:58:47 +0800
commit37c1a8f69de44827a60296342189b6719a49dbc3 (patch)
treed889b5d451f3bfb532177a59389be40ded8cac91 /eth/backend.go
parent35cd355c14d9a5266a7d4b11127d25eb7f961494 (diff)
downloaddexon-37c1a8f69de44827a60296342189b6719a49dbc3.tar.gz
dexon-37c1a8f69de44827a60296342189b6719a49dbc3.tar.zst
dexon-37c1a8f69de44827a60296342189b6719a49dbc3.zip
eth,miner,rpc: set coinbase
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 2c6f5b80c..e5466bbc2 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -472,6 +472,7 @@ func (s *Ethereum) Etherbase() (eb common.Address, err error) {
// set in js console via admin interface or wrapper from cli flags
func (self *Ethereum) SetEtherbase(etherbase common.Address) {
self.etherbase = etherbase
+ self.miner.SetEtherbase(etherbase)
}
func (s *Ethereum) StopMining() { s.miner.Stop() }