mirror of
https://github.com/wownero/wownero.git
synced 2026-12-03 14:34:01 +01:00
rpc: further restrict and clean up get_transaction_pool
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user