Log election votes
This commit is contained in:
parent
24776147b2
commit
9d223ae71a
1 changed files with 8 additions and 0 deletions
|
|
@ -557,6 +557,14 @@ nano::vote_code nano::election::vote (nano::account const & rep, uint64_t timest
|
|||
nano::log::arg{ "vote_source", vote_source_a },
|
||||
nano::log::arg{ "weight", weight });
|
||||
|
||||
node.logger.debug (nano::log::type::election, "Vote received for: {} from: {} root: {} (final: {}, weight: {}, source: {})",
|
||||
block_hash_a.to_string (),
|
||||
rep.to_account (),
|
||||
qualified_root.to_string (),
|
||||
nano::vote::is_final_timestamp (timestamp_a),
|
||||
weight.convert_to<std::string> (),
|
||||
to_string (vote_source_a));
|
||||
|
||||
if (!confirmed_locked ())
|
||||
{
|
||||
confirm_if_quorum (lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue