From 3c66c34ecb3112e11faf0a2f65072916c8a4b5e4 Mon Sep 17 00:00:00 2001 From: 0xdcarns Date: Mon, 10 Jan 2022 19:51:58 -0500 Subject: [PATCH] testing continued --- logic/nodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/nodes.go b/logic/nodes.go index 69c95328..ac74ae7a 100644 --- a/logic/nodes.go +++ b/logic/nodes.go @@ -16,7 +16,7 @@ import ( // GetNetworkNodes - gets the nodes of a network func GetNetworkNodes(network string) ([]models.Node, error) { - var nodes []models.Node + var nodes = []models.Node{} collection, err := database.FetchRecords(database.NODES_TABLE_NAME) if err != nil { if database.IsEmptyRecord(err) {