chanfunding: assure logic for dust output
Without this change the fee for the test case is above 20% and hence the error could be caught by the high-fee logic instead.
This commit is contained in:
1 file changed
+1
-1
@@ -250,7 +250,7 @@ func TestCoinSelectSubtractFees(t *testing.T) {
|
||||
{
|
||||
TxOut: wire.TxOut{
|
||||
PkScript: p2wkhScript,
|
||||
Value: int64(fundingFee(feeRate, 1, false) + dust),
|
||||
Value: int64(fundingFee(feeRate, 1, false) + dustLimit),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user