Skip to content

Commit b9b256f

Browse files
committed
sweepbatcher: add mode with presigned transactions
In this mode sweepbatcher uses transactions provided by the Presigned helper. Transactions are signed upon adding an input to a batch. A single Batcher instance can handle both presigned and regular batches. Currently presigned and non-presigned sweeps never appear in the same batch.
1 parent a4a2bfb commit b9b256f

7 files changed

+4355
-58
lines changed

sweepbatcher/log.go

Lines changed: 0 additions & 5 deletions
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)