testing continued

This commit is contained in:
0xdcarns 2022-01-10 19:51:58 -05:00
parent eda5779a99
commit 3c66c34ecb

View file

@ -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) {