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:
Bjarne Magnussen committed 2020-11-04 18:54:57 +01:00
1 parent fbb430ad82
commit 9e825e6c0f
1 file changed
+1 -1
+1 -1
View File
@@ -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),
},
},
},