From 7169abc4985094a140de5a645008cab28f79c339 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Wed, 6 Mar 2024 18:29:48 -0600 Subject: [PATCH] GH-2141 Fix log output --- libraries/chain/block_header_state_legacy.cpp | 2 +- libraries/chain/controller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/chain/block_header_state_legacy.cpp b/libraries/chain/block_header_state_legacy.cpp index 39b80ebe3c..4f260e611a 100644 --- a/libraries/chain/block_header_state_legacy.cpp +++ b/libraries/chain/block_header_state_legacy.cpp @@ -424,7 +424,7 @@ namespace eosio::chain { EOS_ASSERT(relevant_sig_count == keys.size(), wrong_signing_key, "block signed by unexpected key: ${signing_keys}, expected: ${authority}. ${c} != ${s}", - ("signing_keys", keys)("authority", valid_block_signing_authority)); + ("signing_keys", keys)("authority", valid_block_signing_authority)("c", relevant_sig_count)("s", keys.size())); EOS_ASSERT(is_satisfied, wrong_signing_key, "block signatures do not satisfy the block signing authority", diff --git a/libraries/chain/controller.cpp b/libraries/chain/controller.cpp index fde2ce447d..812bb34aef 100644 --- a/libraries/chain/controller.cpp +++ b/libraries/chain/controller.cpp @@ -1391,7 +1391,7 @@ struct controller_impl { if (startup != startup_t::existing_state) open_fork_db(); } catch (const fc::exception& e) { - elog( "Update to open fork database, continueing without reversible blocks: ${e}", ("e", e)); + elog( "Unable to open fork database, continuing without reversible blocks: ${e}", ("e", e)); } if (startup == startup_t::genesis) {