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