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 2020-08-19 11:54:19 +02:00
parent fbb430ad82
commit 9e825e6c0f
No known key found for this signature in database
GPG Key ID: B0A9ADF6B24CE67F

@ -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),
},
},
},