Skip to content

Commit

Permalink
CLI NewSecurityToken event renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVicente committed Jun 21, 2019
1 parent 1540086 commit 4a7fbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CLI/commands/ST20Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`));
}

Expand Down

0 comments on commit 4a7fbbe

Please sign in to comment.