rpc: remove unused origin flag

This commit is contained in:
selsta
2026-05-09 20:10:03 +02:00
parent cabeafa01a
commit fe9b5de85f
-2
View File
@@ -1259,8 +1259,6 @@ namespace cryptonote
return ok;
const bool restricted = m_restricted && ctx;
const bool request_has_rpc_origin = ctx != NULL;
if (restricted && req.key_images.size() > RESTRICTED_SPENT_KEY_IMAGES_COUNT)
{
res.status = "Too many key images queried in restricted mode";