Skip to content

Commit

Permalink
Fixed error in rpc command 'masternode ...'
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ok123 committed Jul 28, 2022
1 parent 915f969 commit 315a959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mnode/rpc/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ UniValue masternode(const UniValue& params, bool fHelp)
throw JSONRPCError(RPC_INVALID_PARAMETER, "DEPRECATED, please use start-all instead");
#endif // ENABLE_WALLET

if (fHelp || MN.IsCmdSupported())
if (fHelp || !MN.IsCmdSupported())
throw runtime_error(
R"(masternode "command"...
Expand Down

0 comments on commit 315a959

Please sign in to comment.