| 48 | } |
| 49 | |
| 50 | std::string JSONRPCReply(const UniValue& result, const UniValue& error, const UniValue& id) |
| 51 | { |
| 52 | UniValue reply = JSONRPCReplyObj(result, error, id); |
| 53 | return reply.write() + "\n"; |
| 54 | } |
| 55 | |
| 56 | UniValue JSONRPCError(int code, const std::string& message) |
| 57 | { |
no test coverage detected