trie/bintrie: fix copy-paste panic messages in allocStem/allocHashed

This commit is contained in:
CPerezz 2026-04-15 22:54:15 +02:00
parent efc164b850
commit ad64f4ec04
No known key found for this signature in database
GPG key ID: 62045F34B97177DD

View file

@ -124,7 +124,7 @@ func (s *NodeStore) allocStem() uint32 {
}
s.stemCount++
if s.stemCount > indexMask {
panic("internal node pool overflow")
panic("stem node pool overflow")
}
return idx
}
@ -162,7 +162,7 @@ func (s *NodeStore) allocHashed() uint32 {
}
s.hashedCount++
if s.hashedCount > indexMask {
panic("internal node pool overflow")
panic("hashed node pool overflow")
}
return idx
}