remove unused default mixin from wallet.cpp

This commit is contained in:
fuwa 2018-06-26 03:24:31 +08:00 committed by wowario
parent 95cf3bebbe
commit 4c2efffdc5
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -60,7 +60,6 @@ namespace Monero {
namespace { namespace {
// copy-pasted from simplewallet // copy-pasted from simplewallet
static const size_t DEFAULT_MIXIN = 9;
static const int DEFAULT_REFRESH_INTERVAL_MILLIS = 1000 * 10; static const int DEFAULT_REFRESH_INTERVAL_MILLIS = 1000 * 10;
// limit maximum refresh interval as one minute // limit maximum refresh interval as one minute
static const int MAX_REFRESH_INTERVAL_MILLIS = 1000 * 60 * 1; static const int MAX_REFRESH_INTERVAL_MILLIS = 1000 * 60 * 1;
@ -1437,15 +1436,6 @@ void WalletImpl::setListener(WalletListener *l)
m_wallet2Callback->setListener(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 &note) bool WalletImpl::setUserNote(const std::string &txid, const std::string &note)
{ {