test: log current edges in testMultiHopPayments on error

This commit is contained in:
Olaoluwa Osuntokun committed 2017-03-08 14:22:34 -08:00
1 parent da09f4dcc4
commit 43f3b6bebe
1 file changed
+2 -1
+2 -1
View File
@@ -1009,7 +1009,8 @@ func testMultiHopPayments(net *networkHarness, t *harnessTest) {
}
if len(chanGraph.Edges) != 2 {
t.Fatalf("only two channels should be seen as active in the "+
"network, instead %v are", len(chanGraph.Edges))
"network, instead %v are: ", len(chanGraph.Edges),
chanGraph.Edges)
}
for _, link := range chanGraph.Edges {
switch {