diff --git a/commands/create-account.js b/commands/create-account.js index ca6f4fbb..4385fdc3 100644 --- a/commands/create-account.js +++ b/commands/create-account.js @@ -25,7 +25,7 @@ module.exports = { .option('initialBalance', { desc: 'Number of tokens to transfer to newly created account', type: 'string', - default: '0.1' + default: '100' }), handler: exitOnError(createAccount) }; @@ -47,4 +47,4 @@ async function createAccount(options) { await near.connection.signer.keyStore.setKey(options.networkId, options.accountId, keyPair); } console.log(`Account ${options.accountId} for network "${options.networkId}" was created.`); -} \ No newline at end of file +} diff --git a/test/test_account_operations.sh b/test/test_account_operations.sh index e24530a0..f1141e23 100755 --- a/test/test_account_operations.sh +++ b/test/test_account_operations.sh @@ -11,7 +11,7 @@ echo Create account echo Get account state RESULT=$(../bin/near state $testaccount | strip-ansi) echo $RESULT -EXPECTED=".+Account $testaccount.+amount:.+'100000000000000000000000'.+ " +EXPECTED=".+Account $testaccount.+amount:.+'100000000000000000000000000'.+ " if [[ ! "$RESULT" =~ $EXPECTED ]]; then echo FAILURE Unexpected output from near view exit 1