From ec6471ca57a0bd489d421c6ca739f945b75228f8 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 25 Sep 2024 10:51:45 -0700 Subject: [PATCH] Do not convert bytes to hex --- packages/trie/src/trie.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/trie/src/trie.ts b/packages/trie/src/trie.ts index 52814a4fe7..15b0a50d10 100644 --- a/packages/trie/src/trie.ts +++ b/packages/trie/src/trie.ts @@ -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