mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
fix: wrong name of argument for coinjoin
This commit is contained in:
parent
d0163543d9
commit
b54f03a0c1
@ -90,13 +90,16 @@ static RPCHelpMan coinjoin()
|
|||||||
|
|
||||||
static RPCHelpMan getpoolinfo()
|
static RPCHelpMan getpoolinfo()
|
||||||
{
|
{
|
||||||
throw std::runtime_error(
|
return RPCHelpMan{"getpoolinfo",
|
||||||
RPCHelpMan{"getpoolinfo",
|
|
||||||
"DEPRECATED. Please use getcoinjoininfo instead.\n",
|
"DEPRECATED. Please use getcoinjoininfo instead.\n",
|
||||||
{},
|
{},
|
||||||
RPCResults{},
|
RPCResults{},
|
||||||
RPCExamples{""}}
|
RPCExamples{""},
|
||||||
.ToString());
|
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
|
||||||
|
{
|
||||||
|
throw JSONRPCError(RPC_METHOD_DEPRECATED, "Please use getcoinjoininfo instead");
|
||||||
|
},
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
static RPCHelpMan getcoinjoininfo()
|
static RPCHelpMan getcoinjoininfo()
|
||||||
@ -188,7 +191,7 @@ static const CRPCCommand commands[] =
|
|||||||
{ "dash", "getpoolinfo", &getpoolinfo, {} },
|
{ "dash", "getpoolinfo", &getpoolinfo, {} },
|
||||||
{ "dash", "getcoinjoininfo", &getcoinjoininfo, {} },
|
{ "dash", "getcoinjoininfo", &getcoinjoininfo, {} },
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
{ "dash", "coinjoin", &coinjoin, {} },
|
{ "dash", "coinjoin", &coinjoin, {"command"} },
|
||||||
#endif // ENABLE_WALLET
|
#endif // ENABLE_WALLET
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
Loading…
Reference in New Issue
Block a user