multi: improve logging

This commit is contained in:
yyforyongyu committed 2025-03-21 03:24:26 +08:00
1 parent 66c94cf51f
commit be4c4cc8ff
5 files changed
+17 -2

No files matched your search

+5
View File
@@ -1139,6 +1139,11 @@ func testSweepHTLCs(ht *lntest.HarnessTest) {
// NOTE: We need to subtract 1 from the deadline as the budget must be
// used up before the deadline.
blocksLeft := outgoingHTLCDeadline - outgoingFuncPosition - 1
ht.Logf("Bob has incoming sweep tx: %v, outgoing sweep tx: %v, "+
"blocksLeft=%v, entering fee bumping now...",
incomingSweep.TxHash(), outgoingSweep.TxHash(), blocksLeft)
for i := int32(0); i < blocksLeft; i++ {
// Mine an empty block.
ht.MineEmptyBlocks(1)