Skip to content

Commit

Permalink
fix: harness array removal
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Aug 12, 2023
1 parent 219b6ee commit 3be7089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class CrossChainTestHarness {
}

async expectPublicBalanceOnL2(owner: AztecAddress, expectedBalance: bigint) {
const balance = (await this.l2Contract.methods.publicBalanceOf(owner.toField()).view({ from: owner }))[0];
const balance = await this.l2Contract.methods.publicBalanceOf(owner.toField()).view({ from: owner });
expect(balance).toBe(expectedBalance);
}

Expand Down

0 comments on commit 3be7089

Please sign in to comment.