@@ -151,13 +151,13 @@ func TestNodeInsertionAndDeletion(t *testing.T) {
151151
152152 // Next, delete the node from the graph, this should purge all data
153153 // related to the node.
154- require .NoError (t , graph .DeleteLightningNode (ctx , testPub ))
154+ require .NoError (t , graph .DeleteNode (ctx , testPub ))
155155 assertNodeNotInCache (t , graph , testPub )
156156
157157 // Attempting to delete the node again should return an error since
158158 // the node is no longer known.
159159 require .ErrorIs (
160- t , graph .DeleteLightningNode (ctx , testPub ),
160+ t , graph .DeleteNode (ctx , testPub ),
161161 ErrGraphNodeNotFound ,
162162 )
163163
@@ -331,7 +331,7 @@ func TestPartialNode(t *testing.T) {
331331
332332 // Next, delete the node from the graph, this should purge all data
333333 // related to the node.
334- require .NoError (t , graph .DeleteLightningNode (ctx , pubKey1 ))
334+ require .NoError (t , graph .DeleteNode (ctx , pubKey1 ))
335335 assertNodeNotInCache (t , graph , testPub )
336336
337337 // Finally, attempt to fetch the node again. This should fail as the
@@ -3520,7 +3520,7 @@ func TestNodePruningUpdateIndexDeletion(t *testing.T) {
35203520
35213521 // We'll now delete the node from the graph, this should result in it
35223522 // being removed from the update index as well.
3523- err = graph .DeleteLightningNode (ctx , node1 .PubKeyBytes )
3523+ err = graph .DeleteNode (ctx , node1 .PubKeyBytes )
35243524 require .NoError (t , err )
35253525
35263526 // Now that the node has been deleted, we'll again query the nodes in
0 commit comments