diff --git a/cmd/beacon/main.go b/cmd/beacon/main.go index fe7c42d..55e303e 100644 --- a/cmd/beacon/main.go +++ b/cmd/beacon/main.go @@ -147,7 +147,7 @@ func main() { } } - // refresh meterialized views on boot or restart to stay fresh + // refresh materialized views on boot or restart to stay fresh refreshMaterializedViews(ctx, store) // ── Seed config data ───────────────────────────────────────────────────── diff --git a/internal/api/nodes.go b/internal/api/nodes.go index 2302bf9..67eb76f 100644 --- a/internal/api/nodes.go +++ b/internal/api/nodes.go @@ -64,6 +64,7 @@ type Node struct { } // NodeTypeName returns a human-readable name for a node type integer. +// NOTE: truncation is fine here until there are at least over 200 types of node func NodeTypeName(t int16) string { switch byte(t) { case meshcore.AdvertTypeChat: