mirror of https://github.com/oxen-io/oxen-core.git
Don't print worker_index when not an obligations vote (#987)
DEBUG is printing: Signature accepted for checkpointing voter n/<pubkey> voting for worker NNNNN at height H where NNNNN is some random 16-bit number.
This commit is contained in:
parent
19c562f800
commit
ac784faeb3
|
@ -436,7 +436,9 @@ namespace service_nodes
|
|||
|
||||
result = crypto::check_signature(hash, key, vote.signature);
|
||||
if (result)
|
||||
MDEBUG("Signature accepted for " << vote.type << " voter " << vote.index_in_group << "/" << key << " voting for worker " << vote.state_change.worker_index << " at height " << vote.block_height);
|
||||
MDEBUG("Signature accepted for " << vote.type << " voter " << vote.index_in_group << "/" << key
|
||||
<< (vote.type == quorum_type::obligations ? " voting for worker " + std::to_string(vote.state_change.worker_index) : "")
|
||||
<< " at height " << vote.block_height);
|
||||
else
|
||||
vvc.m_signature_not_valid = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue