1
0
Fork 0
forked from lthn/blockchain

fixed bug in rpc map macro

This commit is contained in:
cryptozoidberg 2020-02-03 18:19:54 +01:00
parent 577733133f
commit 5dfefd20ca
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -343,7 +343,7 @@ struct json_command_type_t
epee::json_rpc::error_response rsp; \
rsp.id = id_; \
rsp.jsonrpc = "2.0"; \
rsp.method = req.method; \
rsp.method = callback_name; \
rsp.error.code = -32601; \
rsp.error.message = "Method not found"; \
epee::serialization::store_t_to_json(static_cast<epee::json_rpc::error_response&>(rsp), response_info.m_body); \