test: log current edges in testMultiHopPayments on error
This commit is contained in:
parent
da09f4dcc4
commit
43f3b6bebe
@ -1009,7 +1009,8 @@ func testMultiHopPayments(net *networkHarness, t *harnessTest) {
|
|||||||
}
|
}
|
||||||
if len(chanGraph.Edges) != 2 {
|
if len(chanGraph.Edges) != 2 {
|
||||||
t.Fatalf("only two channels should be seen as active in the "+
|
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 {
|
for _, link := range chanGraph.Edges {
|
||||||
switch {
|
switch {
|
||||||
|
Loading…
Reference in New Issue
Block a user