File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3585,11 +3585,11 @@ def activate_single_pool(self, pool):
35853585
35863586 def GetNetworkName (self ):
35873587 data = self .local .read_db (self .liteClient .configPath )
3588- mainnet_init_block_root_hash = "YRkrcmZMvLBvjanwKCyL3w4oceGPtFfgx8ym1QKCK/4 ="
3589- testnet_init_block_root_hash = "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg="
3590- if data .validator .init_block .root_hash == mainnet_init_block_root_hash :
3588+ mainnet_zero_state_root_hash = "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk ="
3589+ testnet_zero_state_root_hash = "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg="
3590+ if data .validator .zero_state .root_hash == mainnet_zero_state_root_hash :
35913591 return "mainnet"
3592- elif data .validator .init_block .root_hash == testnet_init_block_root_hash :
3592+ elif data .validator .zero_state .root_hash == testnet_zero_state_root_hash :
35933593 return "testnet"
35943594 else :
35953595 return "unknown"
You can’t perform that action at this time.
0 commit comments