eth, miner: verify PoW in the remote agent to notify submitter (#3438)
This commit is contained in:
committed by
Felix Lange
parent
1fe67c125d
commit
0ee796632a
@ -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}
|
||||
|
Reference in New Issue
Block a user