Skip to content

Commit 125d83f

Browse files
authored
Merge pull request #891 from starius/presigned
sweepbatcher: add mode with presigned transactions
2 parents f5b34ca + b9b256f commit 125d83f

12 files changed

+4910
-133
lines changed

loopout.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ func (s *loopOutSwap) waitForHtlcSpendConfirmedV2(globalCtx context.Context,
12691269
}
12701270

12711271
// Send the sweep to the sweeper.
1272-
err := s.batcher.AddSweep(&sweepReq)
1272+
err := s.batcher.AddSweep(ctx, &sweepReq)
12731273
if err != nil {
12741274
return nil, err
12751275
}

sweepbatcher/log.go

-5
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,3 @@ func infof(format string, params ...interface{}) {
5050
func warnf(format string, params ...interface{}) {
5151
log().Warnf(format, params...)
5252
}
53-
54-
// errorf logs a message with level ERROR.
55-
func errorf(format string, params ...interface{}) {
56-
log().Errorf(format, params...)
57-
}

0 commit comments

Comments
 (0)