GRPH-46-Quit_command_cliwallet

This commit is contained in:
satyakoneru 2019-08-28 14:25:39 +00:00 committed by Sandip Patel
parent c49ce31201
commit 9a9c35649b
2 changed files with 9 additions and 0 deletions

View file

@ -2154,4 +2154,5 @@ FC_API( graphene::wallet::wallet_api,
(get_matched_bets_for_bettor)
(get_all_matched_bets_for_bettor)
(buy_ticket)
(quit)
)

View file

@ -1082,6 +1082,14 @@ public:
return true;
}
void quit()
{
ilog( "Quitting Cli Wallet ..." );
throw fc::canceled_exception();
}
void save_wallet_file(string wallet_filename = "")
{
//