lnwallet: refactor commit keys to use lntypes.Dual

This commit is contained in:
Oliver Gugger committed 2024-08-28 13:26:18 +02:00
1 parent b45d72fe59
commit 2ab22b0f0b
2 files changed
+15 -17

No files matched your search

+1 -1
View File
@@ -10416,7 +10416,7 @@ func TestExtractPayDescs(t *testing.T) {
// NOTE: we use nil commitment key rings to avoid checking the htlc
// scripts(`genHtlcScript`) as it should be tested independently.
incomingPDs, outgoingPDs, err := lnChan.extractPayDescs(
0, htlcs, nil, nil, lntypes.Local,
0, htlcs, lntypes.Dual[*CommitmentKeyRing]{}, lntypes.Local,
)
require.NoError(t, err)