multi: improve loggings
This commit is contained in:
1 parent
45b243c91c
commit
1d53e7d081
6 files changed
+23
-17
No files matched your search
@@ -57,10 +57,10 @@ func (h *htlcLeaseResolver) makeSweepInput(op *wire.OutPoint,
|
||||
signDesc *input.SignDescriptor, csvDelay, broadcastHeight uint32,
|
||||
payHash [32]byte, resBlob fn.Option[tlv.Blob]) *input.BaseInput {
|
||||
|
||||
if h.hasCLTV() {
|
||||
log.Infof("%T(%x): CSV and CLTV locks expired, offering "+
|
||||
"second-layer output to sweeper: %v", h, payHash, op)
|
||||
log.Infof("%T(%x): offering second-layer output to sweeper: %v", h,
|
||||
payHash, op)
|
||||
|
||||
if h.hasCLTV() {
|
||||
return input.NewCsvInputWithCltv(
|
||||
op, cltvWtype, signDesc,
|
||||
broadcastHeight, csvDelay,
|
||||
|
||||
Reference in new issue
Block a user