mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
Merge pull request #440 from thanhson1085/master
set block hardfork for testnet
This commit is contained in:
commit
c6b788fe9c
1 changed files with 7 additions and 4 deletions
|
|
@ -489,12 +489,15 @@ func (c *Posv) YourTurn(chain consensus.ChainReader, parent *types.Header, signe
|
|||
|
||||
if common.IsTestnet {
|
||||
// Only three mns hard code for tomo testnet.
|
||||
masternodes = masternodes[:3]
|
||||
if parent.Number.Uint64() >= 909000 {
|
||||
masternodes = []common.Address{
|
||||
common.HexToAddress("0xfFC679Dcdf444D2eEb0491A998E7902B411CcF20"),
|
||||
common.HexToAddress("0xd76fd76F7101811726DCE9E43C2617706a4c45c8"),
|
||||
common.HexToAddress("0x8A97753311aeAFACfd76a68Cf2e2a9808d3e65E8"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
snap, err := c.GetSnapshot(chain, parent)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue