We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e432d80 commit fd2b7fbCopy full SHA for fd2b7fb
lightning/src/blinded_path/payment.rs
@@ -127,7 +127,7 @@ impl Readable for BlindedPaymentTlvs {
127
features: features.ok_or(DecodeError::InvalidValue)?,
128
}))
129
} else {
130
- if payment_relay.is_some() | features.is_some() { return Err(DecodeError::InvalidValue) }
+ if payment_relay.is_some() || features.is_some() { return Err(DecodeError::InvalidValue) }
131
Ok(BlindedPaymentTlvs::Receive(ReceiveTlvs {
132
payment_secret: payment_secret.ok_or(DecodeError::InvalidValue)?,
133
payment_constraints: payment_constraints.0.unwrap(),
0 commit comments