1
0
Fork 0
forked from lthn/blockchain

wrap close wallet response in json-like object

This commit is contained in:
cryptozoidberg 2020-02-28 11:20:02 +01:00
parent 5a219d15a0
commit 3284ca95c4
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -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)