Merge pull request #1008 from starius/fix-sb-dust-main-output-test

sweepbatcher: fix flacky TestPresigned/dust_main_output
This commit is contained in:
Boris Nagaev 2025-09-29 02:13:44 -03:00 committed by GitHub
commit c9e2467ac2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1503,6 +1503,10 @@ func testPresigned_presigned_group_with_dust_main_output(t *testing.T,
Notifier: &dummyNotifier,
})
require.NoError(t, err)
// Since a batch was created we check that it registered for its primary
// sweep's spend.
<-lnd.RegisterSpendChannel
}
// testPresigned_presigned_group_with_dust_below_relay_fee passes a tx with a