Skip to content
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