diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 189dad3b..a47eddff 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -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;