mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
trie/bintrie: fix copy-paste panic messages in allocStem/allocHashed
This commit is contained in:
parent
efc164b850
commit
ad64f4ec04
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue