diff options
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index a38e233608..4d7e977fcb 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2016 The Bitcoin Core developers +// Copyright (c) 2011-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -733,12 +733,12 @@ bool WalletModel::hdEnabled() const return wallet->IsHDEnabled(); } -int WalletModel::getDefaultConfirmTarget() const +OutputType WalletModel::getDefaultAddressType() const { - return nTxConfirmTarget; + return g_address_type; } -bool WalletModel::getDefaultWalletRbf() const +int WalletModel::getDefaultConfirmTarget() const { - return fWalletRbf; + return nTxConfirmTarget; } |