Simplify channelmonitor tests which use chain::Watch and Persister
authorMatt Corallo <git@bluematt.me>
Fri, 8 Oct 2021 05:17:48 +0000 (05:17 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 14 Oct 2021 00:19:12 +0000 (00:19 +0000)
commit49dbabff2701c3a5edb89b1d80c9cf9aed24af98
tree6e29e9b70a5131494c6ac1258c38282f618484a5
parent79541b11e8b6e62de0fc613f416e30bf1de5f3d9
Simplify channelmonitor tests which use chain::Watch and Persister

test_simple_monitor_permanent_update_fail and
test_simple_monitor_temporary_update_fail both have a mode where
they use either chain::Watch or persister to return errors.

As we won't be doing any returns directly from the chain::Watch
wrapper in a coming commit, the chain::Watch-return form of the
test will no longer make sense.
lightning/src/ln/chanmon_update_fail_tests.rs