Skip to content

Commit 6bc129f

Browse files
committed
block_hash -> signer_signature_hash. last signer_sighash after rebase
1 parent cef8937 commit 6bc129f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl SignerTrait<SignerMessage> for Signer {
291291
} => {
292292
debug!(
293293
"{self}: Received a new block event.";
294-
"block_hash" => %block_hash,
294+
"signer_signature_hash" => %block_hash,
295295
"block_height" => block_height
296296
);
297297
if let Ok(Some(mut block_info)) = self
@@ -661,7 +661,7 @@ impl Signer {
661661
// We are still waiting for a response for this block. Do nothing.
662662
debug!(
663663
"{self}: Received a block proposal for a block we are already validating.";
664-
"signer_sighash" => %block_info.signer_signature_hash(),
664+
"signer_signature_hash" => %block_info.signer_signature_hash(),
665665
"block_id" => %block_info.block.block_id()
666666
);
667667
return;
@@ -1117,7 +1117,7 @@ impl Signer {
11171117
// recover public key
11181118
let Ok(public_key) = rejection.recover_public_key() else {
11191119
debug!("{self}: Received block rejection with an unrecovarable signature. Will not store.";
1120-
"block_hash" => %block_hash,
1120+
"signer_signature_hash" => %block_hash,
11211121
"signature" => %signature
11221122
);
11231123
return;
@@ -1133,7 +1133,7 @@ impl Signer {
11331133

11341134
if !is_valid_sig {
11351135
debug!("{self}: Receive block rejection with an invalid signature. Will not store.";
1136-
"block_hash" => %block_hash,
1136+
"signer_signature_hash" => %block_hash,
11371137
"signature" => %signature
11381138
);
11391139
return;
@@ -1235,7 +1235,7 @@ impl Signer {
12351235
else {
12361236
debug!("{self}: Received unrecovarable signature. Will not store.";
12371237
"signature" => %signature,
1238-
"block_hash" => %block_hash);
1238+
"signer_signature_hash" => %block_hash);
12391239

12401240
return;
12411241
};

0 commit comments

Comments
 (0)