pull/4383/head
frozen 2 years ago committed by Casey Gardiner
parent e6287c1635
commit 75df86692a
  1. 14
      consensus/consensus.go
  2. 1
      internal/params/config.go

@ -187,18 +187,10 @@ func (consensus *Consensus) getLeaderPubKey() *bls_cosi.PublicKeyWrapper {
return consensus.LeaderPubKey
}
func (consensus *Consensus) getLeaderPubKey() *bls_cosi.PublicKeyWrapper {
return consensus.LeaderPubKey
}
func (consensus *Consensus) getLeaderPubKey() *bls_cosi.PublicKeyWrapper {
return consensus.LeaderPubKey
}
func (consensus *Consensus) SetLeaderPubKey(pub *bls_cosi.PublicKeyWrapper) {
consensus.pubKeyLock.Lock()
consensus.LeaderPubKey = pub
consensus.pubKeyLock.Unlock()
consensus.mutex.Lock()
defer consensus.mutex.Unlock()
consensus.setLeaderPubKey(pub)
}
func (consensus *Consensus) setLeaderPubKey(pub *bls_cosi.PublicKeyWrapper) {

@ -111,7 +111,6 @@ var (
AllowlistEpoch: big.NewInt(2),
LeaderRotationEpoch: EpochTBD,
LeaderRotationBlocksCount: 64,
TesnetNinetyPercentEpoch: big.NewInt(399),
FeeCollectEpoch: EpochTBD,
}
// PangaeaChainConfig contains the chain parameters for the Pangaea network.

Loading…
Cancel
Save