Skip to content

Commit fd2b7fb

Browse files
f || not |
1 parent e432d80 commit fd2b7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/blinded_path/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl Readable for BlindedPaymentTlvs {
127127
features: features.ok_or(DecodeError::InvalidValue)?,
128128
}))
129129
} else {
130-
if payment_relay.is_some() | features.is_some() { return Err(DecodeError::InvalidValue) }
130+
if payment_relay.is_some() || features.is_some() { return Err(DecodeError::InvalidValue) }
131131
Ok(BlindedPaymentTlvs::Receive(ReceiveTlvs {
132132
payment_secret: payment_secret.ok_or(DecodeError::InvalidValue)?,
133133
payment_constraints: payment_constraints.0.unwrap(),

0 commit comments

Comments
 (0)