From 0891f5aee7ece8d50932d5c37171f657af18e188 Mon Sep 17 00:00:00 2001 From: Shude Li Date: Thu, 7 Nov 2024 04:46:59 +0800 Subject: [PATCH] miner: add tcount incorrectly (#419) Co-authored-by: Adrian Sutton --- miner/worker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index 0c5161c8c6..a4f297c6c6 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -152,7 +152,6 @@ func (miner *Miner) generateWork(params *generateParams, witness bool) *newPaylo if err != nil { return &newPayloadResult{err: fmt.Errorf("failed to force-include tx: %s type: %d sender: %s nonce: %d, err: %w", tx.Hash(), tx.Type(), from, tx.Nonce(), err)} } - work.tcount++ } if !params.noTxs { // use shared interrupt if present