File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ where
573
573
if cur_height >= confirmation_height + ANTI_REORG_DELAY - 1 {
574
574
log_debug ! ( self . logger,
575
575
"Pruning swept output as sufficiently confirmed via spend in transaction {:?}. Pruned descriptor: {:?}" ,
576
- o. status. latest_spending_tx( ) . as_ref ( ) . map( |t| t. txid( ) ) , o. descriptor
576
+ o. status. latest_spending_tx( ) . map( |t| t. txid( ) ) , o. descriptor
577
577
) ;
578
578
return false ;
579
579
}
@@ -683,7 +683,7 @@ where
683
683
let unconf_height = state_lock
684
684
. outputs
685
685
. iter ( )
686
- . find ( |o| o. status . latest_spending_tx ( ) . as_ref ( ) . map ( |tx| tx. txid ( ) ) == Some ( * txid) )
686
+ . find ( |o| o. status . latest_spending_tx ( ) . map ( |tx| tx. txid ( ) ) == Some ( * txid) )
687
687
. and_then ( |o| o. status . confirmation_height ( ) ) ;
688
688
689
689
// Unconfirm all >= this height.
@@ -724,7 +724,7 @@ where
724
724
. filter_map ( |o| {
725
725
if let Some ( confirmation_hash) = o. status . confirmation_hash ( ) {
726
726
if let Some ( confirmation_height) = o. status . confirmation_height ( ) {
727
- if let Some ( latest_spending_tx) = o. status . latest_spending_tx ( ) . as_ref ( ) {
727
+ if let Some ( latest_spending_tx) = o. status . latest_spending_tx ( ) {
728
728
return Some ( (
729
729
latest_spending_tx. txid ( ) ,
730
730
confirmation_height,
You can’t perform that action at this time.
0 commit comments