aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-09-18 09:25:23 -0400
committerGregory Sanders <gsanders87@gmail.com>2019-09-26 16:23:32 -0400
commitf50785ab56c0c094960c7049cfe9209b101e2823 (patch)
treedab9043e8044b6840c195ecd8d6951fe541500b7 /src/wallet
parentae3902ee3f3e4ea21c2a19470d402e418965b8ef (diff)
downloadbitcoin-f50785ab56c0c094960c7049cfe9209b101e2823.tar.xz
Change default address type to bech32
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 3428e8e001..9fc089126d 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -120,7 +120,7 @@ enum WalletFeature
};
//! Default for -addresstype
-constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::P2SH_SEGWIT};
+constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::BECH32};
//! Default for -changetype
constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::CHANGE_AUTO};