From 6211ffd1cc55e42203f3589d6c5549f636fab33f Mon Sep 17 00:00:00 2001 From: Brice Dobry Date: Tue, 23 Jul 2024 11:19:09 -0400 Subject: [PATCH] fix: make signer's warning log more accurate This log can be hit in the case where a nakamoto block does not build off of the most recently signed nakamoto block, so the warning message should be less specific about the other case. --- stacks-signer/src/chainstate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks-signer/src/chainstate.rs b/stacks-signer/src/chainstate.rs index 95c60d3a3c..3473997c11 100644 --- a/stacks-signer/src/chainstate.rs +++ b/stacks-signer/src/chainstate.rs @@ -438,7 +438,7 @@ impl SortitionsView { Ok(true) } else { warn!( - "Miner block proposal's tenure change transaction does not confirm as many blocks as we expect in the parent tenure"; + "Miner's block proposal does not confirm as many blocks as we expect"; "proposed_block_consensus_hash" => %block.header.consensus_hash, "proposed_block_signer_sighash" => %block.header.signer_signature_hash(), "proposed_chain_length" => block.header.chain_length,