forked from lthn/blockchain
wrap close wallet response in json-like object
This commit is contained in:
parent
5a219d15a0
commit
3284ca95c4
1 changed files with 4 additions and 1 deletions
|
|
@ -191,7 +191,10 @@ namespace plain_wallet
|
|||
|
||||
std::string close_wallet(hwallet h)
|
||||
{
|
||||
return gwm.close_wallet(h);
|
||||
std::string r = "{\"response\": \"";
|
||||
r += gwm.close_wallet(h);
|
||||
r += "\"}";
|
||||
return r;
|
||||
}
|
||||
|
||||
std::string get_wallet_status(hwallet h)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue