Skip to content

Commit

Permalink
bugfix: Fixed the Qi processing bug in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Jul 9, 2024
1 parent 9619545 commit 56d9cfb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 56d9cfb

Please sign in to comment.