Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Trivial] Placate clang warning string-plus-int #947

Merged
merged 1 commit into from
May 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ class CMainParams : public CChainParams {
nZerocoinAccount = 100000;

//sv for "stealth veil" & bv for "basecoin veil"
bech32Prefixes[STEALTH_ADDRESS].assign("sv","sv"+2);
bech32Prefixes[BASE_ADDRESS].assign("bv", "bv"+2);
bech32Prefixes[STEALTH_ADDRESS].assign("sv",&"sv"[2]);
bech32Prefixes[BASE_ADDRESS].assign("bv", &"bv"[2]);
bech32_hrp_stealth = "sv";
bech32_hrp_base = "bv";

Expand Down Expand Up @@ -491,8 +491,8 @@ class CTestNetParams : public CChainParams {
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xCF};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};

bech32Prefixes[STEALTH_ADDRESS].assign("tps","tps"+3);
bech32Prefixes[BASE_ADDRESS].assign("tv", "tv"+2);
bech32Prefixes[STEALTH_ADDRESS].assign("tps",&"tps"[3]);
bech32Prefixes[BASE_ADDRESS].assign("tv", &"tv"[2]);
nBIP44ID = 0x80000001;
nRingCTAccount = 20000;
nZerocoinAccount = 100000;
Expand Down Expand Up @@ -662,8 +662,8 @@ class CDevNetParams : public CChainParams {
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xCF};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};

bech32Prefixes[STEALTH_ADDRESS].assign("tps","tps"+3);
bech32Prefixes[BASE_ADDRESS].assign("tv", "tv"+2);
bech32Prefixes[STEALTH_ADDRESS].assign("tps",&"tps"[3]);
bech32Prefixes[BASE_ADDRESS].assign("tv", &"tv"[2]);
nBIP44ID = 0x80000001;
nRingCTAccount = 20000;
nZerocoinAccount = 100000;
Expand Down Expand Up @@ -832,8 +832,8 @@ class CRegTestParams : public CChainParams {
base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x35, 0x87, 0xCF};
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};

bech32Prefixes[STEALTH_ADDRESS].assign("tps","tps"+3);
bech32Prefixes[BASE_ADDRESS].assign("tv", "tv"+2);
bech32Prefixes[STEALTH_ADDRESS].assign("tps", &"tps"[3]);
bech32Prefixes[BASE_ADDRESS].assign("tv", &"tv"[2]);
nBIP44ID = 0x80000001;
nRingCTAccount = 20000;
nZerocoinAccount = 100000;
Expand Down