]> git.bitcoin.ninja Git - rust-lightning/commit
Swap order of checks in `get_htlc_balance`
authorMatt Corallo <git@bluematt.me>
Sun, 24 Sep 2023 01:09:43 +0000 (01:09 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 24 Sep 2023 01:09:43 +0000 (01:09 +0000)
commit119668a6cb33b0ea9862fd532b11ca41ffae8f7d
tree8df1affa972a0fa4849d6f488ba34ff68eac987d
parenta37a16a3ce25023fe9ff3c45dcba7e6b942f2de8
Swap order of checks in `get_htlc_balance`

This will allow us to use the HTLC resolution tracking to detect
the HTLC spend via `OnchainEvent::MaturingOutput` in the next
commit.
lightning/src/chain/channelmonitor.rs