Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
narwalsandeep authored and Mike Purvis committed Feb 11, 2022
1 parent 9225d11 commit d27cd66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/inspect-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const checkForAccDoesNotExist = (error, options) => {
const suffixesToNetworks = {near:'mainnet', testnet:'testnet', betanet:'betanet'};

// contactName used for 'view' command, instead of accountId
// below is optional approach, but "alias" in command options is better
// const accountId = (options.accountId)? options.accountId : options.contractName;
const currentNetwork = config.helperAccount;
console.log(chalk`\n{bold.red Account {bold.white ${options.accountId}} is not found in {bold.white ${suffixesToNetworks[currentNetwork]}}\n}`);
Expand Down

0 comments on commit d27cd66

Please sign in to comment.