@@ -2718,11 +2718,11 @@ func TestAddEdgeUnknownVertexes(t *testing.T) {
27182718 copy (pub2 [:], priv2 .PubKey ().SerializeCompressed ())
27192719
27202720 // The two nodes we are about to add should not exist yet.
2721- _ , exists1 , err := ctx .graph .HasLightningNode (ctxb , pub1 )
2721+ _ , exists1 , err := ctx .graph .HasNode (ctxb , pub1 )
27222722 require .NoError (t , err , "unable to query graph" )
27232723 require .False (t , exists1 )
27242724
2725- _ , exists2 , err := ctx .graph .HasLightningNode (ctxb , pub2 )
2725+ _ , exists2 , err := ctx .graph .HasNode (ctxb , pub2 )
27262726 require .NoError (t , err , "unable to query graph" )
27272727 require .False (t , exists2 )
27282728
@@ -2779,11 +2779,11 @@ func TestAddEdgeUnknownVertexes(t *testing.T) {
27792779
27802780 // After adding the edge between the two previously unknown nodes, they
27812781 // should have been added to the graph.
2782- _ , exists1 , err = ctx .graph .HasLightningNode (ctxb , pub1 )
2782+ _ , exists1 , err = ctx .graph .HasNode (ctxb , pub1 )
27832783 require .NoError (t , err , "unable to query graph" )
27842784 require .True (t , exists1 )
27852785
2786- _ , exists2 , err = ctx .graph .HasLightningNode (ctxb , pub2 )
2786+ _ , exists2 , err = ctx .graph .HasNode (ctxb , pub2 )
27872787 require .NoError (t , err , "unable to query graph" )
27882788 require .True (t , exists2 )
27892789
0 commit comments