Skip to content

Commit c9e2467

Browse files
authored
Merge pull request #1008 from starius/fix-sb-dust-main-output-test
sweepbatcher: fix flacky TestPresigned/dust_main_output
2 parents 00cc90b + e3a0587 commit c9e2467

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sweepbatcher/sweep_batcher_presigned_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,10 @@ func testPresigned_presigned_group_with_dust_main_output(t *testing.T,
15031503
Notifier: &dummyNotifier,
15041504
})
15051505
require.NoError(t, err)
1506+
1507+
// Since a batch was created we check that it registered for its primary
1508+
// sweep's spend.
1509+
<-lnd.RegisterSpendChannel
15061510
}
15071511

15081512
// testPresigned_presigned_group_with_dust_below_relay_fee passes a tx with a

0 commit comments

Comments
 (0)