From c440212de6ba042255df3daa4cc38d0d64a488de Mon Sep 17 00:00:00 2001 From: Alexey Akhunov Date: Tue, 28 May 2019 13:38:27 +0100 Subject: [PATCH] mineBlock - break the inner loop when the block is full --- cmd/geth/retesteth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/geth/retesteth.go b/cmd/geth/retesteth.go index f42431238a..6e563190d9 100644 --- a/cmd/geth/retesteth.go +++ b/cmd/geth/retesteth.go @@ -513,6 +513,7 @@ func (api *RetestethAPI) mineBlock() error { txCount++ if gasPool.Gas() < params.TxGas { blockFull = true + break } } else { break // Gap in the nonces