Always pass height to OnchainTxHandler::update_claims_view
authorMatt Corallo <git@bluematt.me>
Wed, 19 May 2021 21:47:30 +0000 (21:47 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 28 May 2021 23:56:44 +0000 (23:56 +0000)
commit79ffc5eac94cb618ff905894d480864384d0764f
tree07a40d62979eef615892eec6c2fa9495bb42446a
parent9bd87e9c9d52782371acd843db863490583e2cf5
Always pass height to OnchainTxHandler::update_claims_view

This simplifies logic somewhat and avoids duplicating the storage
of the current height in OnchainTxHandler.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/onchaintx.rs