@@ -2268,7 +2268,8 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
22682268 let mut to_watch = self . get_broadcasted_holder_watch_outputs ( & self . current_holder_commitment_tx , tx) ;
22692269 append_onchain_update ! ( res, to_watch) ;
22702270 fail_unbroadcast_htlcs ! ( self , "latest holder" , commitment_txid, height,
2271- self . current_holder_commitment_tx. htlc_outputs. iter( ) . map( |( a, _, c) | ( a, c. as_ref( ) ) ) , logger) ;
2271+ self . current_holder_commitment_tx. htlc_outputs. iter( )
2272+ . map( |( htlc, _, htlc_source) | ( htlc, htlc_source. as_ref( ) ) ) , logger) ;
22722273 } else if let & Some ( ref holder_tx) = & self . prev_holder_signed_commitment_tx {
22732274 if holder_tx. txid == commitment_txid {
22742275 is_holder_tx = true ;
@@ -2277,7 +2278,8 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
22772278 let mut to_watch = self . get_broadcasted_holder_watch_outputs ( holder_tx, tx) ;
22782279 append_onchain_update ! ( res, to_watch) ;
22792280 fail_unbroadcast_htlcs ! ( self , "previous holder" , commitment_txid, height,
2280- holder_tx. htlc_outputs. iter( ) . map( |( a, _, c) | ( a, c. as_ref( ) ) ) , logger) ;
2281+ holder_tx. htlc_outputs. iter( ) . map( |( htlc, _, htlc_source) | ( htlc, htlc_source. as_ref( ) ) ) ,
2282+ logger) ;
22812283 }
22822284 }
22832285
0 commit comments