From 657a70e004a6066993ab18cee3fc343a65d82b8a Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 26 Nov 2016 14:19:57 +0000 Subject: wallet: add a getter for the filename path --- src/wallet/api/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/api/wallet.cpp') diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 215b61aef..fc405a6b1 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -399,6 +399,11 @@ std::string WalletImpl::integratedAddress(const std::string &payment_id) const return m_wallet->get_account().get_public_integrated_address_str(pid, m_wallet->testnet()); } +std::string WalletImpl::path() const +{ + return m_wallet->path(); +} + bool WalletImpl::store(const std::string &path) { clearStatus(); -- cgit v1.2.3