Skip to content

Commit

Permalink
Update for supporting beta3 hardfork10
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPiri committed Jun 9, 2023
1 parent f4f8c44 commit 0cbd38a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gtest/test_forkmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ TEST(ForkManager, NonCeasingSCVersionForkMainnet) {
TEST(ForkManager, NonCeasingSCVersionForkTestnet) {
SelectParams(CBaseChainParams::TESTNET);

int nonCeasingSCVersionForkHeight = 1228700;
int nonCeasingSCVersionForkHeight = 1210015;
EXPECT_EQ(ForkManager::getInstance().getMaxSidechainVersion(nonCeasingSCVersionForkHeight - 1), 1);
EXPECT_EQ(ForkManager::getInstance().getMaxSidechainVersion(nonCeasingSCVersionForkHeight), 2);
EXPECT_EQ(ForkManager::getInstance().getMaxSidechainVersion(nonCeasingSCVersionForkHeight + 1), 2);
Expand Down
2 changes: 1 addition & 1 deletion src/zen/forks/fork10_nonceasingsidechainfork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ NonCeasingSidechainFork::NonCeasingSidechainFork()
{
setHeightMap({{CBaseChainParams::Network::MAIN,1363115},
{CBaseChainParams::Network::REGTEST,480},
{CBaseChainParams::Network::TESTNET,1228700}});
{CBaseChainParams::Network::TESTNET,1210015}});
}
}

0 comments on commit 0cbd38a

Please sign in to comment.