go-iost
go-iost copied to clipboard
Signup without enough balance - uncaught exceptopn
Uncaught exception when attempting to create an account without enough balance
To create
iwallet account create test9999 --account nobalanceaccount
Stacktrace
"message": "running action Action{Contract: auth.iost, ActionName: signUp, Data: [\"test99999\", \"9pRGe2VHTYyLNBtVqhenTX9MoUZJ7FELc... error: Uncaught exception: Error: balance not enough 0 \u003c 10\nat blockchain.js:66:33\n return JSON.parse(bc.callWithAuth(contract, api, args));\n ^\nStack tree: \nError: balance not enough 0 \u003c 10\n at Object.callWithAuth (blockchain.js:66:34)\n at Account.signUp (_default_name.js:131:60)\n at _default_name.js:352:14",
"returns": [
],
"receipts": [
]
}
This should be handled gracefully