diff --git a/graph/db/graph_test.go b/graph/db/graph_test.go index ce8b68ade..26dd41179 100644 --- a/graph/db/graph_test.go +++ b/graph/db/graph_test.go @@ -75,7 +75,7 @@ func createLightningNode(priv *btcec.PrivateKey) *models.LightningNode { AuthSigBytes: testSig.Serialize(), LastUpdate: time.Unix(updateTime, 0), Color: color.RGBA{1, 2, 3, 0}, - Alias: "kek" + string(pub[:]), + Alias: "kek" + hex.EncodeToString(pub), Features: testFeatures, Addresses: testAddrs, } diff --git a/graph/notifications_test.go b/graph/notifications_test.go index 0e2ec7afb..ff4649cfe 100644 --- a/graph/notifications_test.go +++ b/graph/notifications_test.go @@ -89,7 +89,7 @@ func createTestNode(t *testing.T) *models.LightningNode { LastUpdate: time.Unix(updateTime, 0), Addresses: testAddrs, Color: color.RGBA{1, 2, 3, 0}, - Alias: "kek" + string(pub[:]), + Alias: "kek" + hex.EncodeToString(pub), AuthSigBytes: testSig.Serialize(), Features: testFeatures, }