From 51a80daa68f590047cdd3d0d90d2c1c7716b31c7 Mon Sep 17 00:00:00 2001 From: gop Date: Tue, 1 Oct 2024 16:34:31 -0500 Subject: [PATCH] bugfix: have to look at the env.txs to check instead of the work object --- core/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/worker.go b/core/worker.go index 86a3849b11..2867e7c1f5 100644 --- a/core/worker.go +++ b/core/worker.go @@ -1715,7 +1715,7 @@ func (w *worker) fillTransactions(env *environment, primeTerminus *types.WorkObj etxIncluded = true // If we have included a transaction that is not an external type, the lowestFee // transaction is successfully inserted - for _, tx := range env.wo.Transactions() { + for _, tx := range env.txs { if tx.Type() != types.ExternalTxType { lowestFeeTxIncluded = true break