File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3124,15 +3124,13 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
3124
3124
|| Some ( confirmed_txid) == funding. prev_counterparty_commitment_txid
3125
3125
{
3126
3126
let htlcs = funding. counterparty_claimable_outpoints . get ( & confirmed_txid) . unwrap ( ) ;
3127
- walk_htlcs ! (
3128
- htlcs. iter( ) . filter_map( |( a, b) | {
3129
- if let & Some ( ref source) = b {
3130
- Some ( ( a, Some ( & * * source) ) )
3131
- } else {
3132
- None
3133
- }
3134
- } )
3135
- ) ;
3127
+ walk_htlcs ! ( htlcs. iter( ) . filter_map( |( a, b) | {
3128
+ if let & Some ( ref source) = b {
3129
+ Some ( ( a, Some ( & * * source) ) )
3130
+ } else {
3131
+ None
3132
+ }
3133
+ } ) ) ;
3136
3134
} else if confirmed_txid == funding. current_holder_commitment_tx . trust ( ) . txid ( ) {
3137
3135
walk_htlcs ! ( holder_commitment_htlcs!( us, CURRENT_WITH_SOURCES ) ) ;
3138
3136
} else if let Some ( prev_commitment_tx) = & funding. prev_holder_commitment_tx {
You can’t perform that action at this time.
0 commit comments