wallet: add a getter for the filename path

This commit is contained in:
moneromooo-monero
2016-11-26 14:19:57 +00:00
parent c36cb54340
commit 657a70e004
5 changed files with 14 additions and 0 deletions
+5
View File
@@ -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("", "");