update `mainNetTTD` (#1428)

why:
  Was accidentially set as hex value from eip-3675 specs (was meant
  decimal as-is)
This commit is contained in:
Jordan Hrycaj 2023-01-13 18:50:16 +00:00 committed by GitHub
parent a232c7eb1d
commit b1b1bb734c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ proc chainConfigForNetwork*(id: NetworkId): ChainConfig =
result = case id result = case id
of MainNet: of MainNet:
const mainNetTTD = UInt256.fromHex("58750000000000000000000") const mainNetTTD = parse("58750000000000000000000",UInt256)
ChainConfig( ChainConfig(
consensusType: ConsensusType.POW, consensusType: ConsensusType.POW,
chainId: MainNet.ChainId, chainId: MainNet.ChainId,