mirror of
https://github.com/wownero/wownero.git
synced 2026-11-18 14:24:42 +01:00
rpc: remove unused origin flag
This commit is contained in:
@@ -1259,8 +1259,6 @@ namespace cryptonote
|
|||||||
return ok;
|
return ok;
|
||||||
|
|
||||||
const bool restricted = m_restricted && ctx;
|
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)
|
if (restricted && req.key_images.size() > RESTRICTED_SPENT_KEY_IMAGES_COUNT)
|
||||||
{
|
{
|
||||||
res.status = "Too many key images queried in restricted mode";
|
res.status = "Too many key images queried in restricted mode";
|
||||||
|
|||||||
Reference in New Issue
Block a user