wallet: add a getter for the filename path
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -64,6 +64,7 @@ public:
|
||||
bool setPassword(const std::string &password);
|
||||
std::string address() const;
|
||||
std::string integratedAddress(const std::string &payment_id) const;
|
||||
std::string path() const;
|
||||
bool store(const std::string &path);
|
||||
std::string filename() const;
|
||||
std::string keysFilename() const;
|
||||
|
||||
Reference in New Issue
Block a user