We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b62f64 commit f62bbd0Copy full SHA for f62bbd0
src/lib/merkletree/proof.ts
@@ -99,7 +99,7 @@ export class Proof {
99
100
public static fromJSON(obj: ProofJSON): Proof {
101
let nodeAux: NodeAux | undefined = undefined;
102
- let nodeAuxJson: NodeAuxJSON | undefined = obj.node_aux ?? obj.nodeAux ?? undefined; // we keep backward compatibility and support both representations
+ const nodeAuxJson: NodeAuxJSON | undefined = obj.node_aux ?? obj.nodeAux ?? undefined; // we keep backward compatibility and support both representations
103
if (nodeAuxJson) {
104
nodeAux = {
105
key: Hash.fromString(nodeAuxJson.key),
0 commit comments