multi: improve loggings

This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2024-12-20 17:54:03 +08:00
1 parent 45b243c91c
commit 1d53e7d081
6 files changed
+23 -17

No files matched your search

+3 -3
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,