Skip to content

Commit 0b59602

Browse files
committed
cln: Fix typo in probe payment
1 parent 49b72cf commit 0b59602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clightning/clightning.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ func (cl *ClightningClient) ProbePayment(scid string, amountMsat uint64) (bool,
673673
if !ok {
674674
return false, "", fmt.Errorf("WaitSendPay() %w", err)
675675
}
676-
faiCodeWireIncorrectOrUnknownPaymentDetails := 203
677-
if pe.RpcError.Code != faiCodeWireIncorrectOrUnknownPaymentDetails {
676+
failCodeWireIncorrectOrUnknownPaymentDetails := 203
677+
if pe.RpcError.Code != failCodeWireIncorrectOrUnknownPaymentDetails {
678678
log.Debugf("send pay would be failed. reason:%w", err)
679679
return false, pe.Error(), nil
680680
}

0 commit comments

Comments
 (0)