From 7973af3a3ca78ab28745a8e8e75d974fc580b781 Mon Sep 17 00:00:00 2001 From: fuwa Date: Tue, 26 Jun 2018 03:24:31 +0800 Subject: [PATCH] remove unused default mixin from wallet.cpp --- src/wallet/api/wallet.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 6be898295..04abae750 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -60,7 +60,6 @@ namespace Monero { namespace { // copy-pasted from simplewallet - static const size_t DEFAULT_MIXIN = 9; static const int DEFAULT_REFRESH_INTERVAL_MILLIS = 1000 * 10; // limit maximum refresh interval as one minute static const int MAX_REFRESH_INTERVAL_MILLIS = 1000 * 60 * 1; @@ -1406,15 +1405,6 @@ void WalletImpl::setListener(WalletListener *l) m_wallet2Callback->setListener(l); } -uint32_t WalletImpl::defaultMixin() const -{ - return m_wallet->default_mixin(); -} - -void WalletImpl::setDefaultMixin(uint32_t arg) -{ - m_wallet->default_mixin(arg); -} bool WalletImpl::setUserNote(const std::string &txid, const std::string ¬e) {