forked from lthn/blockchain
fixed return code in unknown method handler
This commit is contained in:
parent
83f42ef10f
commit
0c0689a888
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ namespace plain_wallet
|
|||
view::api_response ar = AUTO_VAL_INIT(ar);
|
||||
ar.error_code = "UNKNOWN METHOD";
|
||||
put_result(job_id, epee::serialization::store_t_to_json(ar));
|
||||
return;
|
||||
return std::string("{ \"job_id\": ") + std::to_string(job_id) + "}";;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue