[RELEASE] Fix broken interactive daemon 'limit' commands plus RPC calls

This commit is contained in:
rbrunner7
2018-05-16 15:23:35 +03:00
committed by wowario
parent d969ac8f8b
commit af38d77020
4 changed files with 9 additions and 15 deletions
-6
View File
@@ -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);
}