1
0
Fork 0
forked from lthn/blockchain

fixed json in try_pull_result response

This commit is contained in:
cryptozoidberg 2020-02-28 08:45:16 +01:00
parent b8b2feabe1
commit f8d5442cc1
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -277,7 +277,7 @@ namespace plain_wallet
auto it = gjobs.find(job_id);
if (it == gjobs.end())
{
return "{delivered: false}";
return "{\"delivered\": false}";
}
std::string res = "{\"delivered\": true, \"result\": ";
res += it->second;