From 7608638d286b2f5cf8e1cef4dd7f3b8382658fc9 Mon Sep 17 00:00:00 2001 From: Leila Wang Date: Tue, 26 Sep 2023 14:30:14 +0000 Subject: [PATCH] Fix. --- yarn-project/aztec-node/src/aztec-node/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/aztec-node/src/aztec-node/server.ts b/yarn-project/aztec-node/src/aztec-node/server.ts index ba60b7b9749..f7feee54aa4 100644 --- a/yarn-project/aztec-node/src/aztec-node/server.ts +++ b/yarn-project/aztec-node/src/aztec-node/server.ts @@ -327,7 +327,7 @@ export class AztecNodeService implements AztecNode { * @returns The index of the given leaf in the nullifier tree or undefined if not found. */ public async findNullifierIndex(nullifier: Fr): Promise { - const committedDb = await this.getWorldState(); + const committedDb = await this.#getWorldState(); return committedDb.findLeafIndex(MerkleTreeId.NULLIFIER_TREE, nullifier.toBuffer()); }