diff --git a/CLI/commands/dividends_manager.js b/CLI/commands/dividends_manager.js index bde3aa900..19280f981 100644 --- a/CLI/commands/dividends_manager.js +++ b/CLI/commands/dividends_manager.js @@ -128,7 +128,8 @@ async function start_explorer(){ await transferTokens(_to2,_amount2); break; case 'Create checkpoint': - let createCheckpointAction = securityToken.methods.createCheckpoint(); + await addDividendsModule(); + let createCheckpointAction = currentDividendsModule.methods.createCheckpoint(); await common.sendTransaction(Issuer, createCheckpointAction, defaultGasPrice); break; case 'Set default exclusions for dividends':