]> git.bitcoin.ninja Git - rust-lightning/commit
Simplify prefers_shorter_route_with_higher_fees
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 16 Oct 2021 02:31:33 +0000 (21:31 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 18 Oct 2021 23:32:34 +0000 (18:32 -0500)
commit57f0822f5a97b753901ac681e9787785b279e47a
tree343ebd0989fe27700354f64310e026756b1506d5
parent001bc7113a92a586e7e7ac4557bbae7a1a402550
Simplify prefers_shorter_route_with_higher_fees

In order to make the scoring tests easier to read, only check the
relevant RouteHop fields. The remaining fields are tested elsewhere.
Expand the test to show the path used without scoring.
lightning/src/routing/router.rs