diff --git a/clightning/clightning.go b/clightning/clightning.go index 3e4bb936..7305843c 100644 --- a/clightning/clightning.go +++ b/clightning/clightning.go @@ -673,8 +673,8 @@ func (cl *ClightningClient) ProbePayment(scid string, amountMsat uint64) (bool, if !ok { return false, "", fmt.Errorf("WaitSendPay() %w", err) } - faiCodeWireIncorrectOrUnknownPaymentDetails := 203 - if pe.RpcError.Code != faiCodeWireIncorrectOrUnknownPaymentDetails { + failCodeWireIncorrectOrUnknownPaymentDetails := 203 + if pe.RpcError.Code != failCodeWireIncorrectOrUnknownPaymentDetails { log.Debugf("send pay would be failed. reason:%w", err) return false, pe.Error(), nil }