Greatly simplify channelmonitor pruning tests, and use real funcs 2018-06-post-32
authorMatt Corallo <git@bluematt.me>
Fri, 29 Jun 2018 20:42:44 +0000 (16:42 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 29 Jun 2018 21:02:51 +0000 (17:02 -0400)
commit844097ec01843fbc0564e6e86dd0e1e8a9b50fda
tree128a91b5157e9526a2031897c6c355490b55cef6
parent8926c25f5385d458e7a094166ab77d33cbf3c891
Greatly simplify channelmonitor pruning tests, and use real funcs

Instead of hooking into internal data structures and modifying
those, call the actual functions Channel will call and then check
that the preimages map is correct.
src/ln/channelmonitor.rs