Skip to content

Commit 8062952

Browse files
authored
Merge pull request #874 from starius/improve-logs
loopout: improve log messages
2 parents 188e567 + 80fcf19 commit 8062952

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

loopout.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -949,16 +949,16 @@ func (s *loopOutSwap) waitForConfirmedHtlc(globalCtx context.Context) (
949949
MinLoopOutPreimageRevealDelta
950950

951951
checkMaxRevealHeightExceeded := func() bool {
952-
s.log.Infof("Checking preimage reveal height %v "+
953-
"exceeded (height %v)",
952+
s.log.Infof("Checking if preimage reveal height %v "+
953+
"was exceeded (current height is %v)",
954954
maxPreimageRevealHeight, s.height)
955955

956956
if s.height <= maxPreimageRevealHeight {
957957
return false
958958
}
959959

960960
s.log.Infof("Max preimage reveal height %v "+
961-
"exceeded (height %v)",
961+
"exceeded (current height %v)",
962962
maxPreimageRevealHeight, s.height)
963963

964964
s.state = loopdb.StateFailTimeout

0 commit comments

Comments
 (0)