config+pathfind_test+notifications_test: format and fix newVertex import

Run go fmt so config file is formatted correctly. Also rename
newVertex to NewVertex in pathfind_test and notifications_test
as it is now exported from the routing package.
This commit is contained in:
Laura Cressman
2017-11-03 17:42:02 -04:00
committed by Olaoluwa Osuntokun
parent 918ef2808f
commit 7408aa6c8d
3 changed files with 7 additions and 8 deletions

View File

@ -300,7 +300,7 @@ func TestBasicGraphPathFinding(t *testing.T) {
if err != nil {
t.Fatalf("unable to fetch source node: %v", err)
}
sourceVertex := newVertex(sourceNode.PubKey)
sourceVertex := NewVertex(sourceNode.PubKey)
ignoredEdges := make(map[uint64]struct{})
ignoredVertexes := make(map[Vertex]struct{})