sweep: catch third party spent in fee bumper for neutrino

This commit adds a new check for neutrino backend - when the inputs in
the sweeping tx are spent by a third party, we will send back a
`TxFailed` event to free the rest of the inputs for re-grouping.
This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:37 +08:00
1 parent 563a5caed5
commit 19a599a1a9
4 files changed
+141

No files matched your search

+1
View File
@@ -1358,6 +1358,7 @@ func TestProcessRecords(t *testing.T) {
NumConfirmations: 0,
}, nil,
).Once()
m.wallet.On("BackEnd").Return("test-backend").Once()
// Setup the initial publisher state by adding the records to the maps.
subscriberConfirmed := make(chan *BumpResult, 1)