]> git.bitcoin.ninja Git - rust-lightning/commit
Simplify BlockNotifier tests
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 16 Jun 2020 22:24:22 +0000 (15:24 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 24 Sep 2020 17:29:34 +0000 (10:29 -0700)
commit82b608d5f3b61cb28ddedd946ae1dcf82a69d625
tree123e21cb44a828aa0c40f7992a3e27ba566df7c3
parentf69d9d7f3098011120b87e2ec45f0c4b675fbe86
Simplify BlockNotifier tests

Use a simple ChainListner implementation rather than large test objects
for testing BlockNotifier.

Remove unregister_single_listener_ref_test since it is redundant with
unregister_single_listener_test.

Remove unnecessary clone() calls.
lightning/src/chain/chaininterface.rs