Skip to content

Commit

Permalink
disable proxy for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
killroy192 committed Jul 25, 2024
1 parent e0b6b20 commit 090e169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/distribution/distributeERC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Hex } from "viem";
import { Chain } from "viem/chains";
import { getEVMWallets } from "src/libs/configs";
import { getBalance, transfer } from "src/libs/erc20";
import { refreshProxy } from "src/libs/proxify";
// import { refreshProxy } from "src/libs/proxify";
import { sleep, getRandomArbitrary } from "src/libs/shared";
import { logger } from "src/logger";

Expand Down Expand Up @@ -39,9 +39,9 @@ export const distributeERC = async (chain: Chain, tokenAddress: Hex) => {
tokenAddress: tokenAddress,
receiverAddress: item.to,
amount: item.amount,
axiosInstance: await refreshProxy(0),
// axiosInstance: await refreshProxy(0),
chain,
});
await sleep(getRandomArbitrary(3.6e6, 2 * 3.6e6));
await sleep(getRandomArbitrary(2 * 3.6e6, 3 * 3.6e6));
}
};

0 comments on commit 090e169

Please sign in to comment.