chore: typo in refresh view comment and add note about node type func

NodeTypeName is fine as is with possible concatenation
of the value as there is unlikely to be more than 256
node types
This commit is contained in:
Enot (ded) Skelly committed 2026-06-12 08:49:41 -07:00
1 parent 061f629c37
commit c86bad3875
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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 ─────────────────────────────────────────────────────
+1
View File
@@ -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: