diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-12-20 09:14:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2016-12-20 09:14:36 +0800 |
commit | 0ee796632a9c0f5e098cdced6c4f9033c00cd149 (patch) | |
tree | ec545d723b5c3b3275403357561779e3c43ced2e /eth | |
parent | 1fe67c125d85881cf8c23cd0f08c4a06946793bd (diff) | |
download | go-tangerine-0ee796632a9c0f5e098cdced6c4f9033c00cd149.tar.gz go-tangerine-0ee796632a9c0f5e098cdced6c4f9033c00cd149.tar.zst go-tangerine-0ee796632a9c0f5e098cdced6c4f9033c00cd149.zip |
eth, miner: verify PoW in the remote agent to notify submitter (#3438)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/api.go b/eth/api.go index 0a1d097e3..2cc9c843d 100644 --- a/eth/api.go +++ b/eth/api.go @@ -82,7 +82,7 @@ type PublicMinerAPI struct { // NewPublicMinerAPI create a new PublicMinerAPI instance. func NewPublicMinerAPI(e *Ethereum) *PublicMinerAPI { - agent := miner.NewRemoteAgent() + agent := miner.NewRemoteAgent(e.Pow()) e.Miner().Register(agent) return &PublicMinerAPI{e, agent} |