|
|
@ -213,7 +213,7 @@ UniValue generate(const UniValue& params, bool fHelp, const CPubKey& mypk) |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set"); |
|
|
|
} |
|
|
|
#else |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "hushd compiled without wallet and -mineraddress not set"); |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Full node compiled without wallet and -mineraddress not set"); |
|
|
|
#endif |
|
|
|
} |
|
|
|
if (!Params().MineBlocksOnDemand()) |
|
|
@ -344,7 +344,7 @@ UniValue setgenerate(const UniValue& params, bool fHelp, const CPubKey& mypk) |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set"); |
|
|
|
} |
|
|
|
#else |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "hushd compiled without wallet and -mineraddress not set"); |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Full node compiled without wallet and -mineraddress not set"); |
|
|
|
#endif |
|
|
|
} |
|
|
|
if (Params().MineBlocksOnDemand()) |
|
|
@ -601,7 +601,7 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp, const CPubKey& myp |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set"); |
|
|
|
} |
|
|
|
#else |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "hushd compiled without wallet and -mineraddress not set"); |
|
|
|
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Full node compiled without wallet and -mineraddress not set"); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|