aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-12-04 22:02:40 +0200
committerRiccardo Spagni <ric@spagni.net>2016-12-04 22:02:40 +0200
commit3d533d10379156b557bcc387d9d736ef076433d1 (patch)
tree61989b6652ede908c128e4c13e35acbb206fb574 /src/wallet/wallet2.cpp
parentMerge pull request #1379 (diff)
parentwallet: add a getter for the filename path (diff)
downloadmonero-3d533d10379156b557bcc387d9d736ef076433d1.tar.xz
Merge pull request #1380
657a70e0 wallet: add a getter for the filename path (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 a5444ec14..a15233a87 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("", "");