Skip to content

Commit f2858d2

Browse files
committed
f! one more rename
1 parent f86fa8a commit f2858d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/chain/onchaintx.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -919,12 +919,12 @@ impl<ChannelSigner: WriteableEcdsaChannelSigner> OnchainTxHandler<ChannelSigner>
919919
//- resurect outpoint back in its claimable set and regenerate tx
920920
match entry.event {
921921
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) {
924924
request.merge_package(package);
925925
// Using a HashMap guarantee us than if we have multiple outpoints getting
926926
// 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());
928928
}
929929
}
930930
},

0 commit comments

Comments
 (0)