Replace hushd with 'Full node' in a few error messages

This commit is contained in:
Duke
2024-02-24 06:09:50 -05:00
parent f71f8124c3
commit f64c10baa9

View File

@@ -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"); throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set");
} }
#else #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 #endif
} }
if (!Params().MineBlocksOnDemand()) 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"); throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set");
} }
#else #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 #endif
} }
if (Params().MineBlocksOnDemand()) 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"); throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set");
} }
#else #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 #endif
} }