forked from lthn/blockchain
fixed json in try_pull_result response
This commit is contained in:
parent
b8b2feabe1
commit
f8d5442cc1
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ namespace plain_wallet
|
||||||
auto it = gjobs.find(job_id);
|
auto it = gjobs.find(job_id);
|
||||||
if (it == gjobs.end())
|
if (it == gjobs.end())
|
||||||
{
|
{
|
||||||
return "{delivered: false}";
|
return "{\"delivered\": false}";
|
||||||
}
|
}
|
||||||
std::string res = "{\"delivered\": true, \"result\": ";
|
std::string res = "{\"delivered\": true, \"result\": ";
|
||||||
res += it->second;
|
res += it->second;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue