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 @@ -13226,13 +13226,8 @@ where
1322613226 match &mut htlc.state {
1322713227 OutboundHTLCState::AwaitingRemoteRevokeToRemove(OutboundHTLCOutcome::Success(
1322813228 ref mut preimage,
13229- )) => {
13230- // This variant was initialized like this further above
13231- debug_assert_eq!(preimage, &PaymentPreimage([0u8; 32]));
13232- // Flatten and unwrap the preimage; they are always set starting in 0.2.
13233- *preimage = iter.next().flatten().ok_or(DecodeError::InvalidValue)?;
13234- },
13235- OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13229+ ))
13230+ | OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
1323613231 ref mut preimage,
1323713232 )) => {
1323813233 // This variant was initialized like this further above
You can’t perform that action at this time.
0 commit comments