Browse Source

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

wolfssl_win
Duke 3 months ago
parent
commit
f64c10baa9
  1. 6
      src/rpc/mining.cpp

6
src/rpc/mining.cpp

@ -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
} }

Loading…
Cancel
Save