]> git.bitcoin.ninja Git - rust-lightning/commit
Remove superflous pending_claims
authorAntoine Riard <ariard@student.42.fr>
Tue, 10 Dec 2019 03:18:41 +0000 (22:18 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 10 Dec 2019 03:22:52 +0000 (22:22 -0500)
commit6a7c471369ea3bde4625da9601873d4f1dca9bd3
treea5368aff239e544f4800f7ecff6f0b165ead5c27
parent0011713d2cee8060883fb2039ff5cbd32b5c9677
Remove superflous pending_claims

As local onchain txn are already monitored in block_connected by
check_spend_local_transaction, it's useless to generate twice
pending claims for HTLC outputs on local commitment tx.

We could do the alternative.
lightning/src/ln/channelmonitor.rs