mirror of
https://github.com/monero-project/monero.git
synced 2025-07-25 10:15:21 -04:00
Merge pull request #5062
acfff8d0
rpc: fix internal daemon calls in restricted rpc getting partial data (moneromooo-monero)
This commit is contained in:
commit
1e5cd3b35a
6 changed files with 342 additions and 321 deletions
|
@ -888,7 +888,7 @@ bool t_rpc_command_executor::print_transaction_pool_long() {
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!m_rpc_server->on_get_transaction_pool(req, res, false) || res.status != CORE_RPC_STATUS_OK)
|
||||
if (!m_rpc_server->on_get_transaction_pool(req, res) || res.status != CORE_RPC_STATUS_OK)
|
||||
{
|
||||
tools::fail_msg_writer() << make_error(fail_message, res.status);
|
||||
return true;
|
||||
|
@ -974,7 +974,7 @@ bool t_rpc_command_executor::print_transaction_pool_short() {
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!m_rpc_server->on_get_transaction_pool(req, res, false) || res.status != CORE_RPC_STATUS_OK)
|
||||
if (!m_rpc_server->on_get_transaction_pool(req, res) || res.status != CORE_RPC_STATUS_OK)
|
||||
{
|
||||
tools::fail_msg_writer() << make_error(fail_message, res.status);
|
||||
return true;
|
||||
|
@ -1032,7 +1032,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() {
|
|||
else
|
||||
{
|
||||
res.pool_stats = {};
|
||||
if (!m_rpc_server->on_get_transaction_pool_stats(req, res, false) || res.status != CORE_RPC_STATUS_OK)
|
||||
if (!m_rpc_server->on_get_transaction_pool_stats(req, res) || res.status != CORE_RPC_STATUS_OK)
|
||||
{
|
||||
tools::fail_msg_writer() << make_error(fail_message, res.status);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue