Skip to content

Commit

Permalink
Facepalm
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Jan 6, 2025
1 parent 53dd33e commit 2caec75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/src/aztec-node/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ export class AztecNodeService implements AztecNode, Traceable {
public async isValidTx(tx: Tx, isSimulation: boolean = false): Promise<TxValidationResult> {
const blockNumber = (await this.blockSource.getBlockNumber()) + 1;
const db = this.worldStateSynchronizer.getCommitted();
const verifier = isSimulation ? this.proofVerifier : undefined;
const verifier = isSimulation ? undefined : this.proofVerifier;
const validator = createValidatorForAcceptingTxs(db, this.contractDataSource, verifier, {
blockNumber,
l1ChainId: this.l1ChainId,
Expand Down

0 comments on commit 2caec75

Please sign in to comment.