mirror of
https://codeberg.org/wowario/wownero
synced 2026-10-25 05:58:45 +01:00
[RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls
This commit is contained in:
@@ -379,8 +379,6 @@ bool t_command_parser_executor::set_limit(const std::vector<std::string>& args)
|
||||
std::cout << "failed to parse argument" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (limit > 0)
|
||||
limit *= 1024;
|
||||
|
||||
return m_executor.set_limit(limit, limit);
|
||||
}
|
||||
@@ -399,8 +397,6 @@ bool t_command_parser_executor::set_limit_up(const std::vector<std::string>& arg
|
||||
std::cout << "failed to parse argument" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (limit > 0)
|
||||
limit *= 1024;
|
||||
|
||||
return m_executor.set_limit(0, limit);
|
||||
}
|
||||
@@ -419,8 +415,6 @@ bool t_command_parser_executor::set_limit_down(const std::vector<std::string>& a
|
||||
std::cout << "failed to parse argument" << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (limit > 0)
|
||||
limit *= 1024;
|
||||
|
||||
return m_executor.set_limit(limit, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user