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 @@ -13246,13 +13246,8 @@ where
1324613246 match &mut htlc.state {
1324713247 OutboundHTLCState::AwaitingRemoteRevokeToRemove(OutboundHTLCOutcome::Success(
1324813248 ref mut preimage,
13249- )) => {
13250- // This variant was initialized like this further above
13251- debug_assert_eq!(preimage, &PaymentPreimage([0u8; 32]));
13252- // Flatten and unwrap the preimage; they are always set starting in 0.2.
13253- *preimage = iter.next().flatten().ok_or(DecodeError::InvalidValue)?;
13254- },
13255- OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13249+ ))
13250+ | OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
1325613251 ref mut preimage,
1325713252 )) => {
1325813253 // This variant was initialized like this further above
You can’t perform that action at this time.
0 commit comments