From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Mon, 23 Jul 2018 17:57:00 +0000 (-0400) Subject: Merge pull request #77 from TheBlueMatt/2018-07-route-tweaks X-Git-Tag: v0.0.12~375 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fa9715dccf3ac3a151a910f2c825a599d1503312;hp=667cd66ededd087fe608223c40b5b285710bc691;p=rust-lightning Merge pull request #77 from TheBlueMatt/2018-07-route-tweaks Add arg to get_route to specify our local channels explicitly --- diff --git a/src/ln/msgs.rs b/src/ln/msgs.rs index a10a50e2..1bc6f0ba 100644 --- a/src/ln/msgs.rs +++ b/src/ln/msgs.rs @@ -1625,7 +1625,7 @@ mod tests { let encoded_value = cr.encode(); assert_eq!( - encoded_value, + encoded_value, vec![4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 3, 27, 132, 197, 86, 123, 18, 100, 64, 153, 93, 62, 213, 170, 186, 5, 101, 215, 30, 24, 52, 96, 72, 25, 255, 156, 23, 245, 233, 213, 221, 7, 143] ); } @@ -1647,7 +1647,7 @@ mod tests { let encoded_value = cr.encode(); assert_eq!( - encoded_value, + encoded_value, vec![4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 3, 27, 132, 197, 86, 123, 18, 100, 64, 153, 93, 62, 213, 170, 186, 5, 101, 215, 30, 24, 52, 96, 72, 25, 255, 156, 23, 245, 233, 213, 221, 7, 143] ); }