mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
[refactor] Define MessageStartChars as std::array
This commit is contained in:
@@ -359,7 +359,7 @@ public:
|
||||
HashWriter h{};
|
||||
h << consensus.signet_challenge;
|
||||
uint256 hash = h.GetHash();
|
||||
memcpy(pchMessageStart, hash.begin(), 4);
|
||||
std::copy_n(hash.begin(), 4, pchMessageStart.begin());
|
||||
|
||||
nDefaultPort = 38333;
|
||||
nPruneAfterHeight = 1000;
|
||||
|
||||
Reference in New Issue
Block a user