mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Use RPCHelpMan for all RPCs
This commit is contained in:
@@ -150,6 +150,8 @@ std::string RPCHelpMan::ToString() const
|
||||
if (is_optional) ret += " )";
|
||||
ret += "\n";
|
||||
|
||||
ret += m_description;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -185,6 +187,8 @@ std::string RPCArg::ToStringObj() const
|
||||
|
||||
std::string RPCArg::ToString() const
|
||||
{
|
||||
if (!m_oneline_description.empty()) return m_oneline_description;
|
||||
|
||||
switch (m_type) {
|
||||
case Type::STR_HEX:
|
||||
case Type::STR: {
|
||||
|
||||
Reference in New Issue
Block a user