lnwallet: use DefaultDustLimit() instead of hard-coded values
This commit is contained in:
1 parent
810d8c286e
commit
242c656fd6
2 files changed
+16
-10
No files matched your search
@@ -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