File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -93,19 +93,6 @@ func (consensus *Consensus) announce(block *types.Block) {
93
93
consensus .switchPhase ("Announce" , FBFTPrepare )
94
94
}
95
95
96
- func (consensus * Consensus ) checkFirstReceivedSignature (signerCount int64 , phase quorum.Phase ) (bool , bool ) {
97
- hasMultiBlsKeys := len (consensus .priKey ) > 0
98
- if hasMultiBlsKeys {
99
- var myPubkeys []bls.SerializedPublicKey
100
- for _ , key := range consensus .priKey {
101
- myPubkeys = append (myPubkeys , key .Pub .Bytes )
102
- }
103
- mySignsCount := consensus .decider .GetBallotsCount (phase , myPubkeys )
104
- return true , signerCount == mySignsCount
105
- }
106
- return false , false
107
- }
108
-
109
96
// this method is called for each validator sent their vote message
110
97
func (consensus * Consensus ) onPrepare (recvMsg * FBFTMessage ) {
111
98
// TODO(audit): make FBFT lookup using map instead of looping through all items.
You can’t perform that action at this time.
0 commit comments