Skip to content

Commit 2d3e9f3

Browse files
committed
fix(transaction): remove unnecessary nolint comment from fee calculation
1 parent 1962b9f commit 2d3e9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,5 +368,5 @@ func CalculateFeeForTx(tx *bt.Tx, standardRate, dataRate *bt.Fee) uint64 {
368368
}
369369

370370
// Return the total fee as an uint (easier to use with satoshi values)
371-
return uint64(totalFee) //nolint:gosec // totalFee is checked to be non-negative above
371+
return uint64(totalFee)
372372
}

0 commit comments

Comments
 (0)