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 @@ -13257,13 +13257,8 @@ where
1325713257 match &mut htlc.state {
1325813258 OutboundHTLCState::AwaitingRemoteRevokeToRemove(OutboundHTLCOutcome::Success(
1325913259 ref mut preimage,
13260- )) => {
13261- // This variant was initialized like this further above
13262- debug_assert_eq!(preimage, &PaymentPreimage([0u8; 32]));
13263- // Flatten and unwrap the preimage; they are always set starting in 0.2.
13264- *preimage = iter.next().flatten().ok_or(DecodeError::InvalidValue)?;
13265- },
13266- OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13260+ ))
13261+ | OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
1326713262 ref mut preimage,
1326813263 )) => {
1326913264 // This variant was initialized like this further above
You can’t perform that action at this time.
0 commit comments