mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 10:43:00 +02:00
lnwallet: use DefaultDustLimit() instead of hard-coded values
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
810d8c286e
commit
242c656fd6
@@ -54,7 +54,8 @@ func TestCommitmentSpendValidation(t *testing.T) {
|
||||
// of 5 blocks before sweeping the output, while bob can spend
|
||||
// immediately with either the revocation key, or his regular key.
|
||||
commitmentTx, err := CreateCommitTx(fakeFundingTxIn, aliceKeyPub,
|
||||
bobKeyPub, revokePubKey, csvTimeout, channelBalance, channelBalance, 540)
|
||||
bobKeyPub, revokePubKey, csvTimeout, channelBalance,
|
||||
channelBalance, DefaultDustLimit())
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create commitment transaction: %v", nil)
|
||||
}
|
||||
|
Reference in New Issue
Block a user