From 0a718ff53e6d816f3262279067a441fee28aa41f Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Thu, 6 Feb 2020 14:21:50 -0500 Subject: [PATCH] Remove duplicate log message. Bad cherry-pick from 1.8. --- plugins/producer_plugin/producer_plugin.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/producer_plugin/producer_plugin.cpp b/plugins/producer_plugin/producer_plugin.cpp index b7879ba5aa3..c8a235fafed 100644 --- a/plugins/producer_plugin/producer_plugin.cpp +++ b/plugins/producer_plugin/producer_plugin.cpp @@ -1373,9 +1373,6 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() { // Not our turn const auto& scheduled_producer = hbs->get_scheduled_producer(block_time); - fc_dlog(_log, "Starting block #${n} at ${time} producer ${p}", - ("n", hbs->block_num + 1)("time", now)("p", scheduled_producer.producer_name)); - const auto current_watermark = get_watermark(scheduled_producer.producer_name); size_t num_relevant_signatures = 0; @@ -1440,7 +1437,8 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() { } } - fc_dlog(_log, "Starting block #${n} ${bt} at ${time}", ("n", hbs->block_num + 1)("bt", block_time)("time", now)); + fc_dlog(_log, "Starting block #${n} at ${time} producer ${p}", + ("n", hbs->block_num + 1)("time", now)("p", scheduled_producer.producer_name)); try { uint16_t blocks_to_confirm = 0;