aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-06-08 22:24:47 +0100
committerRoss Nicoll <[email protected]>2021-06-12 16:58:46 +0100
commit261d38e0feda61afd6882f166db213a0ac8672b5 (patch)
tree041de40626a3caa28554e3d3219167456b54700f /src/wallet
parentMerge pull request #2259 from rnicoll/1.21-node-context (diff)
downloaddiscoin-261d38e0feda61afd6882f166db213a0ac8672b5.tar.xz
discoin-261d38e0feda61afd6882f166db213a0ac8672b5.zip
Generate legacy addresses by default
Generate legacy addresses instead of SegWit by default.
Diffstat (limited to 'src/wallet')
-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 69cf6b66a..2bceb8053 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -108,7 +108,7 @@ enum class FeeEstimateMode;
class ReserveDestination;
//! Default for -addresstype
-constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::BECH32};
+constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::LEGACY};
static constexpr uint64_t KNOWN_WALLET_FLAGS =
WALLET_FLAG_AVOID_REUSE