mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
update max masternodes
This commit is contained in:
parent
3180921a7f
commit
c52f31d2c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1881,7 +1881,7 @@ func (bc *BlockChain) UpdateM1() error {
|
|||
// using old masterndoes
|
||||
maxMasternodes = common.MaxMasternodes
|
||||
}
|
||||
if len(ms) > common.MaxMasternodes {
|
||||
if len(ms) > maxMasternodes {
|
||||
err = engine.UpdateMasternodes(bc, bc.CurrentHeader(), ms[:maxMasternodes])
|
||||
} else {
|
||||
err = engine.UpdateMasternodes(bc, bc.CurrentHeader(), ms)
|
||||
|
|
|
|||
Loading…
Reference in a new issue