Use common macro and local channel view for routing in tests 2021-10-test-routing-via-macro
authorMatt Corallo <git@bluematt.me>
Tue, 12 Oct 2021 02:29:32 +0000 (02:29 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Oct 2021 18:30:10 +0000 (18:30 +0000)
commit41ca4336892eaee5c7f2430d9c46a487c92c1e5b
tree35cf6e7f1dafc7a17e105424bf8363a52b083127
parent5a356cad694c12d1e4aa3ab60602ae087fc53d9a
Use common macro and local channel view for routing in tests

This moves towards standardizing the get_route calls somewhat in
tests to avoid the huge "change every line of tests to a new
get_route API" commits in the future.

This isn't meant to be exhaustive, and only tackled the very
trivial cases, but progress is progress.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/functional_tests.rs