Skip to content

Commit 80891ee

Browse files
codablockUdjinM6
authored andcommitted
Make -masternodeblsprivkey mandatory when -masternode is given (#2745)
1 parent 521d4ae commit 80891ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
19681968
return InitError(_("Invalid masternodeblsprivkey. Please see documenation."));
19691969
}
19701970
} else {
1971-
InitWarning(_("You should specify a masternodeblsprivkey in the configuration. Please see documentation for help."));
1971+
return InitError(_("You must specify a masternodeblsprivkey in the configuration. Please see documentation for help."));
19721972
}
19731973

19741974
// init and register activeMasternodeManager

0 commit comments

Comments
 (0)