Skip to content

Commit

Permalink
remove credential check for viewCall
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjoshford committed Apr 8, 2021
1 parent 7b7bc83 commit 7330071
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ exports.deploy = async function (options) {
};

exports.callViewFunction = async function (options) {
checkCredentials(options);
console.log(`View call: ${options.contractName}.${options.methodName}(${options.args || ''})`);
const near = await connect(options);
const account = await near.account(options.accountId || options.masterAccount || options.contractName);
Expand Down

0 comments on commit 7330071

Please sign in to comment.