sweep: expand NotifyBroadcast to include an outpoint index

In this commit, we expand the `NotifyBroadcast` to include an outpoint
index. This is useful as it indicates the index of a given required tx
out input.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-11-14 16:09:58 -08:00
1 parent ab41f28a8f
commit ba16a74491
4 files changed
+26 -11

No files matched your search

+1 -1
View File
@@ -352,7 +352,7 @@ func (m *MockAuxSweeper) ExtraBudgetForInputs(
// NotifyBroadcast is used to notify external callers of the broadcast
// of a sweep transaction, generated by the passed BumpRequest.
func (*MockAuxSweeper) NotifyBroadcast(_ *BumpRequest, _ *wire.MsgTx,
_ btcutil.Amount) error {
_ btcutil.Amount, _ map[wire.OutPoint]int) error {
return nil
}