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 | fe89782512cf98e6c4f1b847887f4c88b4c01eaa (diff) | |
| parent | 657a70e004a6066993ab18cee3fc343a65d82b8a (diff) | |
| download | monzero-core-3d533d10379156b557bcc387d9d736ef076433d1.tar.gz monzero-core-3d533d10379156b557bcc387d9d736ef076433d1.tar.xz monzero-core-3d533d10379156b557bcc387d9d736ef076433d1.zip | |
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("", ""); |
