File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -885,9 +885,10 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> {
885885 if let Some ( ( claim_id, _) ) = self . claimable_outpoints . get ( & inp. previous_output ) {
886886 // If outpoint has claim request pending on it...
887887 if let Some ( request) = self . pending_claim_requests . get_mut ( claim_id) {
888- //... we need to verify equality between transaction outpoints and claim request
889- // outpoints to know if transaction is the original claim or a bumped one issued
890- // by us.
888+ //... we need to check if the pending claim was for a subset of the inputs
889+ // spent by the confirmed transaction. If so, we can drop the pending claim
890+ // after ANTI_REORG_DELAY blocks, otherwise we need to split it and retry
891+ // claiming the remaining outputs.
891892 let mut is_claim_subset_of_tx = true ;
892893 let mut tx_inputs = tx. input . iter ( ) . map ( |input| & input. previous_output ) . collect :: < Vec < _ > > ( ) ;
893894 tx_inputs. sort_unstable ( ) ;
You can’t perform that action at this time.
0 commit comments