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