rpc: further restrict and clean up get_transaction_pool

This commit is contained in:
selsta
2026-08-25 19:29:30 +02:00
parent bc933f920f
commit a496b4981c
10 changed files with 28 additions and 73 deletions
+1 -1
View File
@@ -756,7 +756,7 @@ namespace rpc
void DaemonHandler::handle(const GetTransactionPool::Request& req, GetTransactionPool::Response& res)
{
bool r = m_core.get_pool_for_rpc(res.transactions, res.key_images, !m_restricted);
bool r = m_core.get_pool_for_rpc(res.transactions, res.key_images);
if (!r) res.status = Message::STATUS_FAILED;
else res.status = Message::STATUS_OK;