We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43a486 commit 77351d3Copy full SHA for 77351d3
transaction/transaction_test.go
@@ -287,7 +287,7 @@ func TestTransactionFee(t *testing.T) {
287
totalInputs, err := tx.TotalInputSatoshis()
288
require.NoError(t, err)
289
totalOutputs := tx.TotalOutputSatoshis()
290
- require.True(t, totalInputs >= totalOutputs+fee)
+ require.GreaterOrEqual(t, totalInputs, totalOutputs+fee)
291
292
// Print the fee for informational purposes
293
t.Logf("Computed fee: %d satoshis", fee)
0 commit comments