Skip to content

Commit 737a195

Browse files
committed
node: Testnet4 - Replace uint256S("str") -> uint256{"str"}
Ran scripted-diff from 2d9d752. Follow-up to bitcoin#29775 which overlapped with work on bitcoin#30560 (the latter includes the scripted-diff commit).
1 parent c81c6bf commit 737a195

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/kernel/chainparams.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class CTestNet4Params : public CChainParams {
320320
consensus.CSVHeight = 1;
321321
consensus.SegwitHeight = 1;
322322
consensus.MinBIP9WarningHeight = 0;
323-
consensus.powLimit = uint256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
323+
consensus.powLimit = uint256{"00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"};
324324
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
325325
consensus.nPowTargetSpacing = 10 * 60;
326326
consensus.fPowAllowMinDifficultyBlocks = true;
@@ -361,8 +361,8 @@ class CTestNet4Params : public CChainParams {
361361
1,
362362
50 * COIN);
363363
consensus.hashGenesisBlock = genesis.GetHash();
364-
assert(consensus.hashGenesisBlock == uint256S("0x00000000da84f2bafbbc53dee25a72ae507ff4914b867c565be350b0da8bf043"));
365-
assert(genesis.hashMerkleRoot == uint256S("0x7aa0a7ae1e223414cb807e40cd57e667b718e42aaf9306db9102fe28912b7b4e"));
364+
assert(consensus.hashGenesisBlock == uint256{"00000000da84f2bafbbc53dee25a72ae507ff4914b867c565be350b0da8bf043"});
365+
assert(genesis.hashMerkleRoot == uint256{"7aa0a7ae1e223414cb807e40cd57e667b718e42aaf9306db9102fe28912b7b4e"});
366366

367367
vFixedSeeds.clear();
368368
vSeeds.clear();

0 commit comments

Comments
 (0)