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 @@ -3590,11 +3590,11 @@ def activate_single_pool(self, pool):
35903590
35913591 def GetNetworkName (self ):
35923592 data = self .local .read_db (self .liteClient .configPath )
3593- mainnet_init_block_root_hash = "YRkrcmZMvLBvjanwKCyL3w4oceGPtFfgx8ym1QKCK/4 ="
3594- testnet_init_block_root_hash = "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg="
3595- if data .validator .init_block .root_hash == mainnet_init_block_root_hash :
3593+ mainnet_zero_state_root_hash = "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk ="
3594+ testnet_zero_state_root_hash = "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg="
3595+ if data .validator .zero_state .root_hash == mainnet_zero_state_root_hash :
35963596 return "mainnet"
3597- elif data .validator .init_block .root_hash == testnet_init_block_root_hash :
3597+ elif data .validator .zero_state .root_hash == testnet_zero_state_root_hash :
35983598 return "testnet"
35993599 else :
36003600 return "unknown"
You can’t perform that action at this time.
0 commit comments