Skip to content

Commit

Permalink
chore(retry): unify retry function
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Sep 17, 2024
1 parent 62b083e commit 360cde7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ export async function syncWallets(logger: LogInstance) {
} else if (!("icpWallet" in secrets)) {
logger.warn("Generating new wallet for ICP");
secrets.icpWallet = await icpGw();
} else if (!("nearWallet" in secrets)) {
logger.error("No wallet for near found, please add it to secrets.json");
return;
}
// else if (!("nearWallet" in secrets)) {
// logger.error("No wallet for near found, please add it to secrets.json");
// return;
// }
return writeFile(secretsPath, JSON.stringify(secrets));
}

Expand Down

0 comments on commit 360cde7

Please sign in to comment.