Skip to content

Commit

Permalink
Send sings count from leader to prometheus. (#4638)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozen committed Mar 7, 2024
1 parent 8d2b36d commit fa5efdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/leader.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ func (consensus *Consensus) onPrepare(recvMsg *FBFTMessage) {
signerCount := consensus.decider.SignersCount(quorum.Prepare)
//// Read - End

consensus.UpdateLeaderMetrics(float64(signerCount), float64(consensus.getBlockNum()))

// Check BLS signature for the multi-sig
prepareSig := recvMsg.Payload
var sign bls_core.Sign
Expand Down

0 comments on commit fa5efdc

Please sign in to comment.