File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -807,7 +807,7 @@ func TestFetchPermTempPeer(t *testing.T) {
807807 )
808808}
809809
810- func createLightningNode (priv * btcec.PrivateKey ) * models.Node {
810+ func createNode (priv * btcec.PrivateKey ) * models.Node {
811811 updateTime := rand .Int63 ()
812812
813813 pub := priv .PubKey ().SerializeCompressed ()
@@ -829,5 +829,5 @@ func createTestVertex(t *testing.T) *models.Node {
829829 priv , err := btcec .NewPrivateKey ()
830830 require .NoError (t , err )
831831
832- return createLightningNode (priv )
832+ return createNode (priv )
833833}
Original file line number Diff line number Diff line change 6969 }
7070)
7171
72- func createLightningNode (priv * btcec.PrivateKey ) * models.Node {
72+ func createNode (priv * btcec.PrivateKey ) * models.Node {
7373 pub := priv .PubKey ().SerializeCompressed ()
7474 n := & models.Node {
7575 HaveNodeAnnouncement : true ,
@@ -91,7 +91,7 @@ func createTestVertex(t testing.TB) *models.Node {
9191 priv , err := btcec .NewPrivateKey ()
9292 require .NoError (t , err )
9393
94- return createLightningNode (priv )
94+ return createNode (priv )
9595}
9696
9797// TestNodeInsertionAndDeletion tests the CRUD operations for a Node.
@@ -4069,7 +4069,7 @@ func TestLightningNodeSigVerification(t *testing.T) {
40694069 }
40704070
40714071 // Create a Node from the same private key.
4072- node := createLightningNode (priv )
4072+ node := createNode (priv )
40734073
40744074 // And finally check that we can verify the same signature from the
40754075 // pubkey returned from the lightning node.
You can’t perform that action at this time.
0 commit comments