diff options
| author | Riccardo Spagni <ric@spagni.net> | 2014-12-13 13:52:27 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2014-12-13 13:52:30 +0200 |
| commit | f4675dc05d0c716e120d3e5e3bca5ed23f245552 (patch) | |
| tree | 19eb7a0b7b736337f0c5de8a1f0d2527a8921189 /src/wallet/wallet2.cpp | |
| parent | c3ec723882d1f7a63937922520c50ce8f39d25ca (diff) | |
| parent | 583cf0ad8a59b8bded1bd075d06e3ace2fa611e5 (diff) | |
| download | monzero-core-f4675dc05d0c716e120d3e5e3bca5ed23f245552.tar.gz monzero-core-f4675dc05d0c716e120d3e5e3bca5ed23f245552.tar.xz monzero-core-f4675dc05d0c716e120d3e5e3bca5ed23f245552.zip | |
Merge pull request #203
583cf0a Document existing function (warptangent)
95eb944 Repeat prompt for wallet path if invalid (warptangent)
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 da181e9d9..1c5ec027c 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -679,6 +679,11 @@ void wallet2::wallet_exists(const std::string& file_path, bool& keys_file_exists wallet_file_exists = boost::filesystem::exists(wallet_file, ignore); } //---------------------------------------------------------------------------------------------------- +bool wallet2::wallet_valid_path_format(const std::string& file_path) +{ + return !file_path.empty(); +} +//---------------------------------------------------------------------------------------------------- bool wallet2::parse_payment_id(const std::string& payment_id_str, crypto::hash& payment_id) { cryptonote::blobdata payment_id_data; |
