Skip to content

Commit

Permalink
ah
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Apr 18, 2024
1 parent fa048ba commit e1bafa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsonpak/sorted.nim
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ proc deduplicate*(tree: var SortedJsonTree) =

proc hash*(tree: SortedJsonTree): Hash =
## Stable and fast hashes
result = rawHash(tree, rootNodeId)
result = rawHash(JsonTree(tree), rootNodeId)

0 comments on commit e1bafa6

Please sign in to comment.