Skip to content

Commit

Permalink
improving comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Oct 17, 2023
1 parent db311ca commit 0e4967a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (n *InternalNode) InsertStem(stem []byte, values [][]byte, resolver NodeRes
return n.InsertStem(stem, values, resolver)
case *LeafNode:
if equalPaths(child.stem, stem) {
// We can't insert anything into a POA leaf node.
// We can't insert any values into a POA leaf node.
if child.isPOAStub {
return errIsPOAStub
}
Expand Down

0 comments on commit 0e4967a

Please sign in to comment.