mirror of
https://codeberg.org/wownero/p2pool-wow.git
synced 2026-10-17 05:51:27 +02:00
Fixed submit_block error logging
This commit is contained in:
+2
-2
@@ -575,8 +575,8 @@ void p2pool::submit_block() const
|
|||||||
|
|
||||||
const char* error_msg = nullptr;
|
const char* error_msg = nullptr;
|
||||||
|
|
||||||
auto it = doc.FindMember("message");
|
auto it = err.FindMember("message");
|
||||||
if (it != doc.MemberEnd() && it->value.IsString()) {
|
if (it != err.MemberEnd() && it->value.IsString()) {
|
||||||
error_msg = it->value.GetString();
|
error_msg = it->value.GetString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user