aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-10 12:51:09 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 16:01:41 +0300
commita5374897f89837d1373f6dcc4c92053320e5b9db (patch)
treecbd91c0749e1d0f2a7bdc8e017677010461fccdc /src/wallet/api/wallet.cpp
parentremoved unused "using" (diff)
downloadmonero-a5374897f89837d1373f6dcc4c92053320e5b9db.tar.xz
Wallet::filename, Wallet::keysFilename, tests for move wallet
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 440642291..5b68387ea 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -303,6 +303,16 @@ bool WalletImpl::store(const std::string &path)
return m_status == Status_Ok;
}
+string WalletImpl::filename() const
+{
+ return m_wallet->get_wallet_file();
+}
+
+string WalletImpl::keysFilename() const
+{
+ return m_wallet->get_keys_file();
+}
+
bool WalletImpl::init(const std::string &daemon_address, uint64_t upper_transaction_size_limit)
{
clearStatus();