aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-02-10 21:06:35 -0500
committerMarcoFalke <[email protected]>2018-03-17 16:10:01 -0400
commitfab8a6f609d15863545955d6523c616c2a97eeab (patch)
treea6ec9f9c5572e341ac150f470ed7dc24accfae28 /src/qt/walletmodel.cpp
parentMerge #12683: Fix more constness violations in serialization code (diff)
downloaddiscoin-fab8a6f609d15863545955d6523c616c2a97eeab.tar.xz
discoin-fab8a6f609d15863545955d6523c616c2a97eeab.zip
wallet: Change output type globals to members
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 39ef20c83..5e7aefb18 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