Skip to content
Snippets Groups Projects
Commit 0c07f478 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Fix bug with marshalling

parent ad11fe6d
No related branches found
No related tags found
No related merge requests found
...@@ -211,6 +211,7 @@ func (s *Store) marshal() ([]byte, error) { ...@@ -211,6 +211,7 @@ func (s *Store) marshal() ([]byte, error) {
index := 0 index := 0
for nid := range s.nodes { for nid := range s.nodes {
nodes[index] = nid nodes[index] = nid
index++
} }
return json.Marshal(&nodes) return json.Marshal(&nodes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment