Skip to content

Commit

Permalink
fix: Version undefined does not exist for tree NULLIFIER_TREE (#11421)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
sklppy88 authored Jan 22, 2025
1 parent fe34b05 commit b1cb502
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yarn-project/txe/src/node/txe_node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ export class TXENode implements AztecNode {
// hold a reference to them.
// We should likely migrate this so that the trees are owned by the node.

if (blockNumber == 'latest') {
// TODO: blockNumber is being passed as undefined, figure out why
if (blockNumber === 'latest' || blockNumber === undefined) {
blockNumber = await this.getBlockNumber();
}

Expand Down

0 comments on commit b1cb502

Please sign in to comment.