Skip to content

Commit 77351d3

Browse files
committed
lint
1 parent e43a486 commit 77351d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction/transaction_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func TestTransactionFee(t *testing.T) {
287287
totalInputs, err := tx.TotalInputSatoshis()
288288
require.NoError(t, err)
289289
totalOutputs := tx.TotalOutputSatoshis()
290-
require.True(t, totalInputs >= totalOutputs+fee)
290+
require.GreaterOrEqual(t, totalInputs, totalOutputs+fee)
291291

292292
// Print the fee for informational purposes
293293
t.Logf("Computed fee: %d satoshis", fee)

0 commit comments

Comments
 (0)