Skip to content

sweepbatcher: add mode with presigned transactions #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 8, 2025
2 changes: 1 addition & 1 deletion loopout.go
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ func (s *loopOutSwap) waitForHtlcSpendConfirmedV2(globalCtx context.Context,
}

// Send the sweep to the sweeper.
err := s.batcher.AddSweep(&sweepReq)
err := s.batcher.AddSweep(ctx, &sweepReq)
if err != nil {
return nil, err
}
Expand Down
5 changes: 0 additions & 5 deletions sweepbatcher/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,3 @@ func infof(format string, params ...interface{}) {
func warnf(format string, params ...interface{}) {
log().Warnf(format, params...)
}

// errorf logs a message with level ERROR.
func errorf(format string, params ...interface{}) {
log().Errorf(format, params...)
}
Loading