Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
killroy192 committed Jul 20, 2024
1 parent e374efe commit d0f8715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/scroll/canvas/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ const getAccountToMint = async (wallets: EVMWallet[]) => {
wallet: EVMWallet;
isEligible: boolean;
}[] = [];
wallets.reduce(async (promise, wallet) => {
await wallets.reduce(async (promise, wallet) => {
await promise;
await sleep(2000);
await sleep(1500);
const config = await makeConfig(wallet);
if (config.isEligible) {
eligibleAccounts.push(config);
Expand Down
4 changes: 2 additions & 2 deletions src/core/scroll/kelp/deposit.kelp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ const getAccountToDeposit = async (wallets: EVMWallet[], minDeposit: number) =>
isEligible: boolean;
toDeposit: bigint;
}[] = [];
wallets.reduce(async (promise, wallet) => {
await wallets.reduce(async (promise, wallet) => {
await promise;
await sleep(2000);
await sleep(1500);
const config = await makeConfig(wallet);
if (config.isEligible) {
eligibleAccounts.push(config);
Expand Down

0 comments on commit d0f8715

Please sign in to comment.