mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Make wallet_propose and wallet_seed admin only.
This commit is contained in:
@@ -3512,8 +3512,8 @@ Json::Value RPCHandler::doCommand(const Json::Value& jvRequest, int iRole, int &
|
|||||||
{ "validation_seed", &RPCHandler::doValidationSeed, true, optNone },
|
{ "validation_seed", &RPCHandler::doValidationSeed, true, optNone },
|
||||||
|
|
||||||
{ "wallet_accounts", &RPCHandler::doWalletAccounts, false, optCurrent },
|
{ "wallet_accounts", &RPCHandler::doWalletAccounts, false, optCurrent },
|
||||||
{ "wallet_propose", &RPCHandler::doWalletPropose, false, optNone },
|
{ "wallet_propose", &RPCHandler::doWalletPropose, true, optNone },
|
||||||
{ "wallet_seed", &RPCHandler::doWalletSeed, false, optNone },
|
{ "wallet_seed", &RPCHandler::doWalletSeed, true, optNone },
|
||||||
|
|
||||||
#if ENABLE_INSECURE
|
#if ENABLE_INSECURE
|
||||||
// XXX Unnecessary commands which should be removed.
|
// XXX Unnecessary commands which should be removed.
|
||||||
|
|||||||
Reference in New Issue
Block a user