Merge pull request #77 from TheBlueMatt/2018-07-route-tweaks
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Mon, 23 Jul 2018 17:57:00 +0000 (13:57 -0400)
committerGitHub <noreply@github.com>
Mon, 23 Jul 2018 17:57:00 +0000 (13:57 -0400)
Add arg to get_route to specify our local channels explicitly

src/ln/msgs.rs

index a10a50e22d3f1ba25644e3a55a05824a658d4327..1bc6f0ba63efcc57cfb1b8a0c9b8b0ee03eb40ac 100644 (file)
@@ -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]
                );
        }