staking miner: remove needless queue check (#6221)

* staking miner: remove needless queue check

If the queue is full and the "mined solution" is better than solutions in the queue according to the "strategy"
then the solution with worse score will be kicked out from the queue.

Thus, the check can be removed completly.

* fix compile warns
This commit is contained in:
Niklas Adolfsson
2022-11-08 17:19:48 +01:00
committed by GitHub
parent 63c6f184cb
commit e1ccb8499d
2 changed files with 2 additions and 4 deletions
-1
View File
@@ -253,7 +253,6 @@ enum Error<T: EPM::Config> {
AlreadySubmitted,
VersionMismatch,
StrategyNotSatisfied,
QueueFull,
Other(String),
}