Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Feb 12, 2025
1 parent 7a38a50 commit bfe41f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/localnet/src/evmExecute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const evmExecute = async ({
callOptions,
amount,
}: {
amount: BigNumberish;
callOptions: any;
evmContracts: any;
foreignCoins: any[];
Expand All @@ -24,7 +25,6 @@ export const evmExecute = async ({
sender: any;
tss: any;
zrc20: any;
amount: BigNumberish;
}) => {
const chainID = foreignCoins.find(
(coin: any) => coin.zrc20_contract_address === zrc20
Expand Down
2 changes: 1 addition & 1 deletion packages/localnet/src/zetachainCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const zetachainCall = async ({

try {
await evmExecute({
amount: 0,
callOptions,
evmContracts,
foreignCoins,
Expand All @@ -41,7 +42,6 @@ export const zetachainCall = async ({
sender,
tss,
zrc20,
amount: 0,
});
} catch (err: any) {
if (exitOnError) {
Expand Down
2 changes: 1 addition & 1 deletion packages/localnet/src/zetachainWithdrawAndCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const zetachainWithdrawAndCall = async ({
}
if (isGasToken) {
await evmExecute({
amount,
callOptions,
evmContracts,
foreignCoins,
Expand All @@ -73,7 +74,6 @@ export const zetachainWithdrawAndCall = async ({
sender,
tss,
zrc20,
amount,
});
} else {
await evmCustodyWithdrawAndCall({
Expand Down

0 comments on commit bfe41f0

Please sign in to comment.