File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -13277,13 +13277,8 @@ where
1327713277 match &mut htlc.state {
1327813278 OutboundHTLCState::AwaitingRemoteRevokeToRemove(OutboundHTLCOutcome::Success(
1327913279 ref mut preimage,
13280- )) => {
13281- // This variant was initialized like this further above
13282- debug_assert_eq!(preimage, &PaymentPreimage([0u8; 32]));
13283- // Flatten and unwrap the preimage; they are always set starting in 0.2.
13284- *preimage = iter.next().flatten().ok_or(DecodeError::InvalidValue)?;
13285- },
13286- OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13280+ ))
13281+ | OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
1328713282 ref mut preimage,
1328813283 )) => {
1328913284 // This variant was initialized like this further above
You can’t perform that action at this time.
0 commit comments