Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
João Sousa authored and João Sousa committed Sep 24, 2024
1 parent 7015547 commit dda72c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sui/faucet.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ async function processCommand(config, chain, options) {
await printWalletInfo(recipient, client, chain, options);

const balance = Number((await client.getBalance({ owner: recipient })).totalBalance) / 1e9;

if (balance >= Number(options.minBalance)) {
printWarn('Wallet balance above minimum, skipping faucet request');
process.exit(0);
Expand Down

0 comments on commit dda72c5

Please sign in to comment.