Skip to content

Commit

Permalink
miner: add tcount incorrectly (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Sutton <[email protected]>
  • Loading branch information
islishude and ajsutton authored Nov 6, 2024
1 parent d6a8b0b commit 0891f5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0891f5a

Please sign in to comment.