From a7127961086f03fea3f8c9d810209a17b9ab6875 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 11 Sep 2019 16:21:49 +0100 Subject: [PATCH] Fix nit in blech32_hrp assignment in Bitcoin chains --- src/chainparams.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 72e84eaa00..b48f27b0b4 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -176,7 +176,7 @@ class CMainParams : public CChainParams { base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x88, 0xAD, 0xE4}; bech32_hrp = "bc"; - blech32_hrp = blech32_hrp; + blech32_hrp = bech32_hrp; vFixedSeeds = std::vector(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main)); @@ -295,7 +295,7 @@ class CTestNetParams : public CChainParams { base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94}; bech32_hrp = "tb"; - blech32_hrp = blech32_hrp; + blech32_hrp = bech32_hrp; vFixedSeeds = std::vector(pnSeed6_test, pnSeed6_test + ARRAYLEN(pnSeed6_test)); @@ -412,7 +412,7 @@ class CRegTestParams : public CChainParams { base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94}; bech32_hrp = "bcrt"; - blech32_hrp = blech32_hrp; + blech32_hrp = bech32_hrp; /* enable fallback fee on regtest */ m_fallback_fee_enabled = true;