diff options
Diffstat (limited to 'miner')
-rw-r--r-- | miner/remote_agent.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miner/remote_agent.go b/miner/remote_agent.go index 5ccadb896..9e4453ce8 100644 --- a/miner/remote_agent.go +++ b/miner/remote_agent.go @@ -112,9 +112,8 @@ func (a *RemoteAgent) GetWork() ([3]string, error) { a.work[block.HashNoNonce()] = a.currentWork return res, nil - } else { - return res, errors.New("No work available yet, don't panic.") } + return res, errors.New("No work available yet, don't panic.") } // Returns true or false, but does not indicate if the PoW was correct |