Skip to content

Commit ffa0c01

Browse files
committed
Merge cc2ecbb into merged_master (Elements PR ElementsProject#1378)
2 parents 0876350 + cc2ecbb commit ffa0c01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chainparams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ class CLiquidV1Params : public CChainParams {
11651165

11661166
multi_data_permitted = true;
11671167
create_discount_ct = args.GetBoolArg("-creatediscountct", false);
1168-
accept_discount_ct = args.GetBoolArg("-acceptdiscountct", false) || create_discount_ct;
1168+
accept_discount_ct = args.GetBoolArg("-acceptdiscountct", true) || create_discount_ct;
11691169

11701170
parentGenesisBlockHash = uint256S("000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f");
11711171
const bool parent_genesis_is_null = parentGenesisBlockHash == uint256();

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ void SetupServerArgs(ArgsManager& argsman)
653653
argsman.AddArg("-initialreissuancetokens=<n>", "The amount of reissuance tokens created in the genesis block. (default: 0)", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
654654
argsman.AddArg("-ct_bits", strprintf("The default number of hiding bits in a rangeproof. Will be exceeded to cover amounts exceeding the maximum hiding value. (default: %d)", 52), ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
655655
argsman.AddArg("-ct_exponent", strprintf("The hiding exponent. (default: %s)", 0), ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
656-
argsman.AddArg("-acceptdiscountct", "Accept discounted fees for Confidential Transactions (default: false)", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
656+
argsman.AddArg("-acceptdiscountct", "Accept discounted fees for Confidential Transactions (default: true in liquidtestnet and liquidv1, false otherwise)", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
657657
argsman.AddArg("-creatediscountct", "Create Confidential Transactions with discounted fees (default: false). Setting this to true will also set 'acceptdiscountct' to true.", ArgsManager::ALLOW_ANY, OptionsCategory::CHAINPARAMS);
658658

659659
#if defined(USE_SYSCALL_SANDBOX)

0 commit comments

Comments
 (0)