From 4a7fbbedc3fd5ae10b33ffdb9e2220b123fcdc3b Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 21 Jun 2019 09:20:54 -0300 Subject: [PATCH] CLI NewSecurityToken event renamed --- CLI/commands/ST20Generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLI/commands/ST20Generator.js b/CLI/commands/ST20Generator.js index 966d54a4d..2381f8c65 100644 --- a/CLI/commands/ST20Generator.js +++ b/CLI/commands/ST20Generator.js @@ -150,7 +150,7 @@ async function step_token_deploy (_name, _details, _divisible) { await approvePoly(securityTokenRegistryAddress, polyFee); let generateSecurityTokenAction = securityTokenRegistry.methods.generateNewSecurityToken(tokenName, tokenSymbol, tokenDetails, divisibility, treasuryWallet, 0); let receipt = await common.sendTransaction(generateSecurityTokenAction); - let event = common.getEventFromLogs(securityTokenRegistry._jsonInterface, receipt.logs, 'NewSecurityTokenCreated'); + let event = common.getEventFromLogs(securityTokenRegistry._jsonInterface, receipt.logs, 'NewSecurityToken'); console.log(chalk.green(`Security Token has been successfully deployed at address ${event._securityTokenAddress}`)); }