Clean up and clarify tx broadcast checks in channelmonitor tests 2018-09-163-cleanups
authorMatt Corallo <git@bluematt.me>
Thu, 13 Sep 2018 17:51:23 +0000 (13:51 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 13 Sep 2018 18:24:37 +0000 (14:24 -0400)
commit66d5d764aa2a23f846efecdfa8522cd96e2d1aee
treed1b9d621b1ca9bde1bf2e96b1dd41e0930a0993d
parente9e27f277a3330cede4fd79f41923b03d3b872ed
Clean up and clarify tx broadcast checks in channelmonitor tests

This effecitlvey reverts the refactors in 383bd90a481bc146b3a3b1d8,
however keeps the actully new test code.

It also writes documentation for the super confusing tx test func
and makes it a bit less permissive.
src/ln/channelmanager.rs