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 @@ -919,12 +919,12 @@ impl<ChannelSigner: WriteableEcdsaChannelSigner> OnchainTxHandler<ChannelSigner>
919
919
//- resurect outpoint back in its claimable set and regenerate tx
920
920
match entry. event {
921
921
OnchainEvent :: ContentiousOutpoint { package } => {
922
- if let Some ( ancestor_claimable_txid ) = self . claimable_outpoints . get ( package. outpoints ( ) [ 0 ] ) {
923
- if let Some ( request) = self . pending_claim_requests . get_mut ( & ancestor_claimable_txid . 0 ) {
922
+ if let Some ( pending_claim ) = self . claimable_outpoints . get ( package. outpoints ( ) [ 0 ] ) {
923
+ if let Some ( request) = self . pending_claim_requests . get_mut ( & pending_claim . 0 ) {
924
924
request. merge_package ( package) ;
925
925
// Using a HashMap guarantee us than if we have multiple outpoints getting
926
926
// resurrected only one bump claim tx is going to be broadcast
927
- bump_candidates. insert ( ancestor_claimable_txid . clone ( ) , request. clone ( ) ) ;
927
+ bump_candidates. insert ( pending_claim . clone ( ) , request. clone ( ) ) ;
928
928
}
929
929
}
930
930
} ,
You can’t perform that action at this time.
0 commit comments