Skip to content

Commit aa9752f

Browse files
committed
chore: add weight_threshold to the logs
1 parent 37b8fea commit aa9752f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testnet/stacks-node/src/nakamoto_node/stackerdb_listener.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ impl StackerDBListener {
333333
"signer_weight" => signer_entry.weight,
334334
"total_weight_approved" => block.total_weight_approved,
335335
"total_weight_rejected" => block.total_weight_rejected,
336+
"weight_threshold" => self.weight_threshold,
336337
"tenure_extend_timestamp" => tenure_extend_timestamp,
337338
"server_version" => metadata.server_version,
338339
);
@@ -393,6 +394,7 @@ impl StackerDBListener {
393394
"signer_weight" => signer_entry.weight,
394395
"total_weight_approved" => block.total_weight_approved,
395396
"total_weight_rejected" => block.total_weight_rejected,
397+
"weight_threshold" => self.weight_threshold,
396398
"reason" => rejected_data.reason,
397399
"reason_code" => %rejected_data.reason_code,
398400
"tenure_extend_timestamp" => rejected_data.response_data.tenure_extend_timestamp,

0 commit comments

Comments
 (0)