From dd684bdabed83945687fba1097ab46cff7927475 Mon Sep 17 00:00:00 2001 From: barrystyle Date: Thu, 13 Jun 2019 04:55:41 +0800 Subject: [PATCH] make bech32 the defaultaddress format --- src/wallet/wallet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index e4132588e..a7f884836 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -126,10 +126,10 @@ enum WalletFeature }; //! Default for -addresstype -constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::LEGACY}; +constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::BECH32}; //! Default for -changetype -constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::BECH32}; +constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::CHANGE_AUTO}; enum WalletFlags : uint64_t { // wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown