]> git.bitcoin.ninja Git - rust-lightning/commit
Use Persister to return errors in tests not chain::Watch
authorMatt Corallo <git@bluematt.me>
Fri, 8 Oct 2021 06:16:28 +0000 (06:16 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 14 Oct 2021 00:19:42 +0000 (00:19 +0000)
commitc396dc6ee558d3e1aa081ad392c2d62c60071718
treef387622ea71a1c5a9c1e8edec13bbaefc60a78ed
parent1b6a7c1314a3840f57af4457977a5c98a864edd1
Use Persister to return errors in tests not chain::Watch

As ChainMonitor will need to see those errors in a coming PR,
we need to return errors via Persister so that our ChainMonitor
chain::Watch implementation sees them.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/util/test_utils.rs