Skip to content

Commit f62bbd0

Browse files
committed
fix
1 parent 6b62f64 commit f62bbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/merkletree/proof.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class Proof {
9999

100100
public static fromJSON(obj: ProofJSON): Proof {
101101
let nodeAux: NodeAux | undefined = undefined;
102-
let nodeAuxJson: NodeAuxJSON | undefined = obj.node_aux ?? obj.nodeAux ?? undefined; // we keep backward compatibility and support both representations
102+
const nodeAuxJson: NodeAuxJSON | undefined = obj.node_aux ?? obj.nodeAux ?? undefined; // we keep backward compatibility and support both representations
103103
if (nodeAuxJson) {
104104
nodeAux = {
105105
key: Hash.fromString(nodeAuxJson.key),

0 commit comments

Comments
 (0)