GRPH-46-Quit_command_cliwallet
This commit is contained in:
parent
c49ce31201
commit
9a9c35649b
2 changed files with 9 additions and 0 deletions
|
|
@ -2154,4 +2154,5 @@ FC_API( graphene::wallet::wallet_api,
|
||||||
(get_matched_bets_for_bettor)
|
(get_matched_bets_for_bettor)
|
||||||
(get_all_matched_bets_for_bettor)
|
(get_all_matched_bets_for_bettor)
|
||||||
(buy_ticket)
|
(buy_ticket)
|
||||||
|
(quit)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1082,6 +1082,14 @@ public:
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void quit()
|
||||||
|
{
|
||||||
|
ilog( "Quitting Cli Wallet ..." );
|
||||||
|
|
||||||
|
throw fc::canceled_exception();
|
||||||
|
}
|
||||||
|
|
||||||
void save_wallet_file(string wallet_filename = "")
|
void save_wallet_file(string wallet_filename = "")
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue