From fab8a6f609d15863545955d6523c616c2a97eeab Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 10 Feb 2018 21:06:35 -0500 Subject: wallet: Change output type globals to members --- src/qt/walletmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/walletmodel.cpp') diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 39ef20c835..5e7aefb187 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -736,7 +736,7 @@ bool WalletModel::hdEnabled() const OutputType WalletModel::getDefaultAddressType() const { - return g_address_type; + return wallet->m_default_address_type; } int WalletModel::getDefaultConfirmTarget() const -- cgit v1.2.3