Merge mining RPC: added merge_mining_submit_solution

This commit is contained in:
SChernykh
2023-11-06 16:33:56 +01:00
parent 40b2c2a858
commit 9eab833f66
5 changed files with 118 additions and 8 deletions
+3 -1
View File
@@ -499,7 +499,9 @@ void Call(const std::string& address, int port, const std::string& req, const st
});
if (!result) {
LOGERR(1, "JSON RPC \"" << req << "\" failed");
static constexpr char err[] = "CallOnLoop failed";
LOGERR(1, err);
(*close_cb)(err, sizeof(err) - 1, 0.0);
}
}