Merge pull request #1380

657a70e0 wallet: add a getter for the filename path (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2016-12-04 22:02:40 +02:00
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("", "");