You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stacks-signer/src/v0/signer.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1425,9 +1425,11 @@ impl Signer {
1425
1425
});
1426
1426
if total_reject_weight.saturating_add(min_weight) <= total_weight {
1427
1427
// Not enough rejection signatures to make a decision
1428
+
let reject_threshold = total_weight.saturating_sub(min_weight).saturating_add(1);
1429
+
info!("{self}: Received rejection for block {block_hash}, but have not reached rejection threshold yet (have {total_reject_weight}, need at least {min_weight}/{reject_threshold})");
1428
1430
return;
1429
1431
}
1430
-
info!("{self}: {total_reject_weight}/{total_weight} signers voted to reject the block {block_hash}");
1432
+
info!("{self}: Received rejection for block {block_hash} and have reached the rejection threshold with {total_reject_weight}/{total_weight} rejections");
info!("{self}: Received block acceptance for block {block_hash}, but have not reached threshold yet (have {signature_weight}, need at least {min_weight}/{total_weight})");
1551
1550
return;
1552
1551
}
1552
+
info!("{self}: Received block acceptance for block {block_hash} and have reached threshold with {signature_weight}/{total_weight} signatures");
0 commit comments