aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2022-03-08 11:07:39 +0000
committerglozow <gloriajzhao@gmail.com>2022-03-25 16:02:37 +0000
commitda2bc865d644f6be748c305556bdd02f02d1b161 (patch)
tree3f3837c1337e0a6221d38cf9bbece568591ede61 /src/wallet/wallet.h
parentc9ed9927bbb7c422c4e01c0c1adc9722b8671009 (diff)
downloadbitcoin-da2bc865d644f6be748c305556bdd02f02d1b161.tar.xz
[wallet] don't create long chains by default
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index e2c5c69c91..0df100fe86 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -95,7 +95,7 @@ static const CAmount WALLET_INCREMENTAL_RELAY_FEE = 5000;
//! Default for -spendzeroconfchange
static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true;
//! Default for -walletrejectlongchains
-static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS = false;
+static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS{true};
//! -txconfirmtarget default
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 6;
//! -walletrbf default