Clean up claimable_outpoints when pending_claim_requests is cleaned
authorMatt Corallo <git@bluematt.me>
Tue, 10 Dec 2019 03:51:36 +0000 (22:51 -0500)
committerAntoine Riard <ariard@student.42.fr>
Tue, 10 Dec 2019 22:42:58 +0000 (17:42 -0500)
commitae042ebedbc96aee5395716726b058047f69bbc6
treee9a86a0bac1f3a6ed5c685a879fcad919c114b98
parent475719d01cc5e4aa6566442583c3067f74bbd87c
Clean up claimable_outpoints when pending_claim_requests is cleaned

When claimable_outpoints was introduced in "Move
our_claim_txn_waiting_first_conf to pending_claim_requests", removal
of elements from it (which are just pointers into
pending_claim_requests) was never added.
lightning/src/ln/channelmonitor.rs