()
| 15 | } |
| 16 | |
| 17 | func (nc *NetworkClient) GetWork() smartpool.Work { |
| 18 | work := nc.rpc.GetWork() |
| 19 | nc.workpool.AddWork(work) |
| 20 | return work |
| 21 | } |
| 22 | |
| 23 | func (nc *NetworkClient) SubmitHashrate(hashrate hexutil.Uint64, id common.Hash) bool { |
| 24 | return nc.rpc.SubmitHashrate(hashrate, id) |
nothing calls this directly
no test coverage detected