aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHodlinator <172445034+hodlinator@users.noreply.github.com>2024-08-25 21:04:32 +0200
committerHodlinator <172445034+hodlinator@users.noreply.github.com>2024-08-27 11:14:53 +0200
commit49f9b645ea3f42c1b9e0a83b26af8fc8f6fa159d (patch)
treecb0963d51252735aa99b8279b616b379741b0a72 /src
parentc81c6bf65b34eb91c98768e6b4f46e450ccfd779 (diff)
downloadbitcoin-49f9b645ea3f42c1b9e0a83b26af8fc8f6fa159d.tar.xz
refactor: Testnet4 - Replace uint256S("str") -> uint256{"str"}
Ran scripted-diff from 2d9d752e4fc30aabf2ddd36ca7a63432d26d4fea. Follow-up to #29775 which overlapped with work on #30560 (the latter includes the scripted-diff commit).
Diffstat (limited to 'src')
-rw-r--r--src/kernel/chainparams.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp
index 3bd662b684..043effce7e 100644
--- a/src/kernel/chainparams.cpp
+++ b/src/kernel/chainparams.cpp
@@ -320,7 +320,7 @@ public:
consensus.CSVHeight = 1;
consensus.SegwitHeight = 1;
consensus.MinBIP9WarningHeight = 0;
- consensus.powLimit = uint256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
+ consensus.powLimit = uint256{"00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"};
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
consensus.nPowTargetSpacing = 10 * 60;
consensus.fPowAllowMinDifficultyBlocks = true;
@@ -361,8 +361,8 @@ public:
1,
50 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
- assert(consensus.hashGenesisBlock == uint256S("0x00000000da84f2bafbbc53dee25a72ae507ff4914b867c565be350b0da8bf043"));
- assert(genesis.hashMerkleRoot == uint256S("0x7aa0a7ae1e223414cb807e40cd57e667b718e42aaf9306db9102fe28912b7b4e"));
+ assert(consensus.hashGenesisBlock == uint256{"00000000da84f2bafbbc53dee25a72ae507ff4914b867c565be350b0da8bf043"});
+ assert(genesis.hashMerkleRoot == uint256{"7aa0a7ae1e223414cb807e40cd57e667b718e42aaf9306db9102fe28912b7b4e"});
vFixedSeeds.clear();
vSeeds.clear();