mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge ElementsProject/elements#1052: chainparams: change magic bytes for liquidv1test
0628311b53chainparams: change magic bytes for liquidv1test (Andrew Poelstra) Pull request description: This is basically a Liquid-prod-ish version of regtest. Its default magic should not collide with that for Liquid prod. ACKs for top commit: psgreco: UTACK0628311b53Tree-SHA512: 50c387ffeb62d42ffd0b42d0f43335966feb64a50140159c615474b9c864222e2a7510bb3b07aa95f62a977d0e7472d905bc97a06a3ace80aae0a519031c446e
This commit is contained in:
commit
4798e8ee2c
1 changed files with 1 additions and 1 deletions
|
|
@ -1155,7 +1155,7 @@ public:
|
|||
assert(IsHex(extprvprefix) && extprvprefix.size() == 8 && "-extprvkeyprefix must be hex string of length 8");
|
||||
base58Prefixes[EXT_SECRET_KEY] = ParseHex(extprvprefix);
|
||||
|
||||
const std::string magic_str = args.GetArg("-pchmessagestart", "FABFB5DA");
|
||||
const std::string magic_str = args.GetArg("-pchmessagestart", "143EFCB1");
|
||||
assert(IsHex(magic_str) && magic_str.size() == 8 && "-pchmessagestart must be hex string of length 8");
|
||||
const std::vector<unsigned char> magic_byte = ParseHex(magic_str);
|
||||
std::copy(begin(magic_byte), end(magic_byte), pchMessageStart);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue