test: log current edges in testMultiHopPayments on error

This commit is contained in:
Olaoluwa Osuntokun 2017-03-08 14:22:27 -08:00
parent da09f4dcc4
commit 43f3b6bebe
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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 {