vendor: CHT update (block 761856, Revival Ropsten)

This commit is contained in:
Victor Farazdagi 2017-04-19 08:33:28 +03:00
parent 01a1550511
commit 980d054a06
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ func NewLightChain(odr OdrBackend, config *params.ChainConfig, pow pow.PoW, mux
if bc.genesisBlock.Hash() == (common.Hash{65, 148, 16, 35, 104, 9, 35, 224, 254, 77, 116, 163, 75, 218, 200, 20, 31, 37, 64, 227, 174, 144, 98, 55, 24, 228, 125, 102, 209, 202, 74, 45}) { if bc.genesisBlock.Hash() == (common.Hash{65, 148, 16, 35, 104, 9, 35, 224, 254, 77, 116, 163, 75, 218, 200, 20, 31, 37, 64, 227, 174, 144, 98, 55, 24, 228, 125, 102, 209, 202, 74, 45}) {
// add trusted CHT for testnet // add trusted CHT for testnet
WriteTrustedCht(bc.chainDb, TrustedCht{ WriteTrustedCht(bc.chainDb, TrustedCht{
Number: 160, Number: 186,
Root: common.HexToHash("0x024e1adf94a8f6c63899b3ca30a35723737cba7b46e0d557825732b73ac58f7f"), Root: common.HexToHash("0x06a7857c0f38f7a4c8eb282fa0f202c6ee5b6007fccb95ee72444c586b8d80df"),
}) })
glog.V(logger.Info).Infoln("Added trusted CHT for testnet") glog.V(logger.Info).Infoln("Added trusted CHT for testnet")
} else { } else {