Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Aug 27, 2024
1 parent 6b62f64 commit f62bbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/merkletree/proof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Proof {

public static fromJSON(obj: ProofJSON): Proof {
let nodeAux: NodeAux | undefined = undefined;
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
if (nodeAuxJson) {
nodeAux = {
key: Hash.fromString(nodeAuxJson.key),
Expand Down

0 comments on commit f62bbd0

Please sign in to comment.