Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/dashmate/src/commands/wallet/mint.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Mint given amount of tDash to a new or specified address
throw new Error('Only local network supports generation of dash');
}

if (config.get('core.masternode.enable')) {
throw new Error('A masternode doesn\'t support generation of dash');
}

const tasks = new Listr(
[
{
Expand Down