mineBlock - break the inner loop when the block is full

This commit is contained in:
Alexey Akhunov 2019-05-28 13:38:27 +01:00
parent 696604cf7f
commit c440212de6

View file

@ -513,6 +513,7 @@ func (api *RetestethAPI) mineBlock() error {
txCount++
if gasPool.Gas() < params.TxGas {
blockFull = true
break
}
} else {
break // Gap in the nonces