fixed bug in parser
This commit is contained in:
parent
e5795fb131
commit
699bee2cb1
2 changed files with 3 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ using namespace epee;
|
|||
|
||||
void run_difficulty_analysis(const std::string& path)
|
||||
{
|
||||
std::istringstream fstr(path);
|
||||
std::ifstream fstr(path);
|
||||
if (!fstr.good())
|
||||
{
|
||||
LOG_ERROR("unable to open " << path);
|
||||
|
|
@ -41,4 +41,3 @@ void run_difficulty_analysis(const std::string& path)
|
|||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -103,6 +103,8 @@ int main(int argc, char* argv[])
|
|||
command_line::add_arg(desc_options, arg_generate_test_genesis_json);
|
||||
command_line::add_arg(desc_options, arg_max_tx_in_pool);
|
||||
command_line::add_arg(desc_options, arg_deadlock_guard);
|
||||
command_line::add_arg(desc_options, arg_difficulty_analysis);
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue