Skip to content

Commit

Permalink
Do not convert bytes to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Sep 25, 2024
1 parent 21916c8 commit ec6471c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/trie/src/trie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,7 @@ export class Trie {
)
const _progress = progress
for (const k of node.key()) {
this.DEBUG &&
this.debug(`NextNode: ${bytesToHex(node.value())}`, ['find_path', 'extension_node'])
this.DEBUG && this.debug(`NextNode: ${node.value()}`, ['find_path', 'extension_node'])
if (k !== targetKey[progress]) {
result = { node: null, remaining: targetKey.slice(_progress), stack }
return
Expand Down

0 comments on commit ec6471c

Please sign in to comment.