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 authored and Olaoluwa Osuntokun committed 2017-11-15 16:50:19 -08:00
1 parent 918ef2808f
commit 7408aa6c8d
3 files changed
+7 -8

No files matched your search

+1 -1
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{})