From 80891ee6f79128bfdc9ab0695b8d005be0e9543c Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Wed, 6 Mar 2019 20:45:53 +0100 Subject: [PATCH] Make -masternodeblsprivkey mandatory when -masternode is given (#2745) --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index a7612b201..14cf007cc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1968,7 +1968,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler) return InitError(_("Invalid masternodeblsprivkey. Please see documenation.")); } } else { - InitWarning(_("You should specify a masternodeblsprivkey in the configuration. Please see documentation for help.")); + return InitError(_("You must specify a masternodeblsprivkey in the configuration. Please see documentation for help.")); } // init and register activeMasternodeManager