mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-03-12 09:29:51 +00:00
Fixed submit_block
error logging
This commit is contained in:
parent
d151ed9354
commit
a1ec97a221
1 changed files with 2 additions and 2 deletions
|
@ -575,8 +575,8 @@ void p2pool::submit_block() const
|
|||
|
||||
const char* error_msg = nullptr;
|
||||
|
||||
auto it = doc.FindMember("message");
|
||||
if (it != doc.MemberEnd() && it->value.IsString()) {
|
||||
auto it = err.FindMember("message");
|
||||
if (it != err.MemberEnd() && it->value.IsString()) {
|
||||
error_msg = it->value.GetString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue