Skip to content

Commit 5aa2a03

Browse files
committed
itest: close channel by recipient
This makes sure that a recipient of a channel can also initiate the co-op closing procedure and everything works the same still.
1 parent a46dea5 commit 5aa2a03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

itest/litd_custom_channels_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ func testCustomChannels(_ context.Context, net *NetworkHarness,
381381
universeTap, true, true,
382382
)
383383

384-
t.Logf("Closing Dave -> Yara channel")
384+
t.Logf("Closing Dave -> Yara channel, close initiated by Yara")
385385
closeAssetChannelAndAssert(
386-
t, net, dave, yara, daveChanPoint, assetID, nil,
386+
t, net, yara, dave, daveChanPoint, assetID, nil,
387387
universeTap, false, true,
388388
)
389389

@@ -776,9 +776,9 @@ func testCustomChannelsGroupedAsset(_ context.Context, net *NetworkHarness,
776776
universeTap, true, true,
777777
)
778778

779-
t.Logf("Closing Dave -> Yara channel")
779+
t.Logf("Closing Dave -> Yara channel, close initiated by Yara")
780780
closeAssetChannelAndAssert(
781-
t, net, dave, yara, daveChanPoint, assetID, groupID,
781+
t, net, yara, dave, daveChanPoint, assetID, groupID,
782782
universeTap, false, true,
783783
)
784784

0 commit comments

Comments
 (0)