multi: improve loggings

This commit is contained in:
yyforyongyu
2024-05-22 16:51:36 +08:00
committed by yyforyongyu
parent 45b243c91c
commit 1d53e7d081
6 changed files with 23 additions and 17 deletions

View File

@@ -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,