mirror of
https://github.com/monero-project/monero.git
synced 2025-12-21 06:43:12 -08:00
WalletAPI: add getDefaultDataDir()
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "transaction_history.h"
|
||||
#include "address_book.h"
|
||||
#include "common_defines.h"
|
||||
#include "common/util.h"
|
||||
|
||||
#include "mnemonics/electrum-words.h"
|
||||
#include <boost/format.hpp>
|
||||
@@ -1411,6 +1412,11 @@ bool WalletImpl::parse_uri(const std::string &uri, std::string &address, std::st
|
||||
return m_wallet->parse_uri(uri, address, payment_id, amount, tx_description, recipient_name, unknown_parameters, error);
|
||||
}
|
||||
|
||||
std::string WalletImpl::getDefaultDataDir() const
|
||||
{
|
||||
return tools::get_default_data_dir();
|
||||
}
|
||||
|
||||
bool WalletImpl::rescanSpent()
|
||||
{
|
||||
clearStatus();
|
||||
|
||||
Reference in New Issue
Block a user