From fae2052914358be33d77beaf40143ad55f374555 Mon Sep 17 00:00:00 2001 From: chessai Date: Fri, 13 Dec 2024 15:35:25 -0600 Subject: [PATCH] in testnet, spv expiration is a Maybe Word64, not Word64 --- src/Chainweb/Version/Testnet.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chainweb/Version/Testnet.hs b/src/Chainweb/Version/Testnet.hs index 5297b2e29..dd38228a5 100644 --- a/src/Chainweb/Version/Testnet.hs +++ b/src/Chainweb/Version/Testnet.hs @@ -144,7 +144,7 @@ testnet = ChainwebVersion Bottom (minBound, Nothing) , _versionSpvProofExpirationWindow = -- 23_040 is 4x current max TTL - (succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, 23_040) `Above` + (succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, Just 23_040) `Above` Bottom (minBound, Nothing) , _versionBootstraps = domainAddr2PeerInfo testnetBootstrapHosts , _versionGenesis = VersionGenesis