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 @@ -13216,13 +13216,8 @@ where
13216
13216
match &mut htlc.state {
13217
13217
OutboundHTLCState::AwaitingRemoteRevokeToRemove(OutboundHTLCOutcome::Success(
13218
13218
ref mut preimage,
13219
- )) => {
13220
- // This variant was initialized like this further above
13221
- debug_assert_eq!(preimage, &PaymentPreimage([0u8; 32]));
13222
- // Flatten and unwrap the preimage; they are always set starting in 0.2.
13223
- *preimage = iter.next().flatten().ok_or(DecodeError::InvalidValue)?;
13224
- },
13225
- OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13219
+ ))
13220
+ | OutboundHTLCState::AwaitingRemovedRemoteRevoke(OutboundHTLCOutcome::Success(
13226
13221
ref mut preimage,
13227
13222
)) => {
13228
13223
// This variant was initialized like this further above
You can’t perform that action at this time.
0 commit comments