From 56d9cfb0904ee4a93457ca084191350d31be62cd Mon Sep 17 00:00:00 2001 From: gop Date: Fri, 28 Jun 2024 14:24:45 -0500 Subject: [PATCH] bugfix: Fixed the Qi processing bug in worker --- core/worker.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/worker.go b/core/worker.go index a2be56320c..ec0e46c9ac 100644 --- a/core/worker.go +++ b/core/worker.go @@ -963,6 +963,11 @@ func (w *worker) commitTransactions(env *environment, parent *types.WorkObject, break } if err := w.processQiTx(tx, env, parent); err != nil { + if strings.Contains(err.Error(), "emits too many") { + // This is not an invalid tx, our block is just full of ETXs + txs.PopNoSort() + continue + } hash := tx.Hash() w.logger.WithFields(log.Fields{ "err": err,