From 43f3b6bebe424a0084ec3cace20eb38f097291b0 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 8 Mar 2017 14:22:27 -0800 Subject: [PATCH] test: log current edges in testMultiHopPayments on error --- lnd_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnd_test.go b/lnd_test.go index a5e06f02..b165719c 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -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 {