diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-12-04 22:02:40 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-12-04 22:02:40 +0200 |
commit | 3d533d10379156b557bcc387d9d736ef076433d1 (patch) | |
tree | 61989b6652ede908c128e4c13e35acbb206fb574 /src/wallet/wallet2.cpp | |
parent | Merge pull request #1379 (diff) | |
parent | wallet: add a getter for the filename path (diff) | |
download | monero-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.cpp | 5 |
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("", ""); |