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 74f7cd9 commit e7e4668Copy full SHA for e7e4668
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
- const 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; // we keep backward compatibility and support both representations
103
if (nodeAuxJson) {
104
nodeAux = {
105
key: Hash.fromString(nodeAuxJson.key),
0 commit comments