From 068cb794976da713fb4671e1bb4e4657d3dcc2b3 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 12 Aug 2019 00:00:20 -0400 Subject: ... --- miner/miner.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'miner') diff --git a/miner/miner.go b/miner/miner.go index b342bb8..b55d4fc 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -24,6 +24,7 @@ import ( "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/params" + "github.com/ethereum/go-ethereum/common" eminer "github.com/ethereum/go-ethereum/miner" ) @@ -42,6 +43,10 @@ func NewWorker(config *Config, chainConfig *params.ChainConfig, engine consensus return newWorker(config, chainConfig, engine, eth, mux, isLocalBlock) } +func (self *Worker) SetEtherbase(addr common.Address) { + self.setEtherbase(addr) +} + func (self *Worker) Start() { self.start() } -- cgit v1.2.3-70-g09d2