Skip to content

Commit 1be6d39

Browse files
committed
instantout: log correct expiry
1 parent ab30e0b commit 1be6d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instantout/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (f *FSM) InitInstantOutAction(eventCtx fsm.EventContext) fsm.EventType {
107107
if int32(res.Expiry) < initCtx.cltvExpiry+htlcExpiryDelta {
108108
return f.HandleError(fmt.Errorf("reservation %x has "+
109109
"expiry %v which is less than the swap expiry %v",
110-
resId, res.Expiry, initCtx.cltvExpiry))
110+
resId, res.Expiry, initCtx.cltvExpiry+htlcExpiryDelta))
111111
}
112112
}
113113

0 commit comments

Comments
 (0)