Skip to content

Commit

Permalink
code-Update tester.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
romashka-btc authored Dec 24, 2024
1 parent 78af2bf commit df781f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tests/revert-test/tests/tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Tester {
/// L2 RPC is active, but we need the L2 RPC to get the base token address.
async fundSyncWallet() {
const baseTokenAddress = await this.syncWallet.provider.getBaseTokenContractAddress();
if (!(baseTokenAddress === zksync.utils.ETH_ADDRESS_IN_CONTRACTS)) {
if (baseTokenAddress !== zksync.utils.ETH_ADDRESS_IN_CONTRACTS) {
const l1Erc20ABI = ['function mint(address to, uint256 amount)'];
const l1Erc20Contract = new ethers.Contract(baseTokenAddress, l1Erc20ABI, this.ethWallet);
await (await l1Erc20Contract.mint(this.ethWallet.address, BASE_ERC20_TO_MINT)).wait();
Expand Down

0 comments on commit df781f3

Please sign in to comment.