diff --git a/miner/scroll_worker.go b/miner/scroll_worker.go index 87edea049896..293c4398f2bc 100644 --- a/miner/scroll_worker.go +++ b/miner/scroll_worker.go @@ -396,7 +396,7 @@ func (w *worker) mainLoop() { // be automatically eliminated. if w.current != nil { shouldCommit, _ := w.processTxnSlice(ev.Txs) - if shouldCommit || w.current.deadlineReached { + if shouldCommit || (w.current.deadlineReached && len(w.current.txs) > 0) { _, err = w.commit() } } diff --git a/params/version.go b/params/version.go index 49ab1dec9e09..ec3dfc492eef 100644 --- a/params/version.go +++ b/params/version.go @@ -24,7 +24,7 @@ import ( const ( VersionMajor = 5 // Major version component of the current release VersionMinor = 7 // Minor version component of the current release - VersionPatch = 19 // Patch version component of the current release + VersionPatch = 20 // Patch version component of the current release VersionMeta = "mainnet" // Version metadata to append to the version string )