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:
parent
fbb430ad82
commit
9e825e6c0f
@ -250,7 +250,7 @@ func TestCoinSelectSubtractFees(t *testing.T) {
|
|||||||
{
|
{
|
||||||
TxOut: wire.TxOut{
|
TxOut: wire.TxOut{
|
||||||
PkScript: p2wkhScript,
|
PkScript: p2wkhScript,
|
||||||
Value: int64(fundingFee(feeRate, 1, false) + dust),
|
Value: int64(fundingFee(feeRate, 1, false) + dustLimit),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user