Merge pull request #63 from cogutvalera/valera_issue_1050
add quit command to cli_wallet #1050
This commit is contained in:
commit
5469bb960a
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ void cli::run()
|
||||||
catch ( const fc::exception& e )
|
catch ( const fc::exception& e )
|
||||||
{
|
{
|
||||||
std::cout << e.to_detail_string() << "\n";
|
std::cout << e.to_detail_string() << "\n";
|
||||||
|
|
||||||
|
if (e.code() == fc::canceled_exception_code)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue