aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-26 14:19:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-26 14:19:57 +0000
commit657a70e004a6066993ab18cee3fc343a65d82b8a (patch)
tree8d831280c48fdfaca061b8b3d3e6199be8b0fbe5 /src/wallet/wallet2.cpp
parentMerge pull request #1372 (diff)
downloadmonero-657a70e004a6066993ab18cee3fc343a65d82b8a.tar.xz
wallet: add a getter for the filename path
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index ea3994435..ff696c7e9 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -2353,6 +2353,11 @@ void wallet2::check_genesis(const crypto::hash& genesis_hash) const {
THROW_WALLET_EXCEPTION_IF(genesis_hash != m_blockchain[0], error::wallet_internal_error, what);
}
//----------------------------------------------------------------------------------------------------
+std::string wallet2::path() const
+{
+ return m_wallet_file;
+}
+//----------------------------------------------------------------------------------------------------
void wallet2::store()
{
store_to("", "");