Skip to content

Commit

Permalink
Quick checking of store method monero-project#9
Browse files Browse the repository at this point in the history
  • Loading branch information
MarketKernel committed Aug 16, 2023
1 parent f275aa9 commit 98aedda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5831,7 +5831,7 @@ void wallet2::store_to(const std::string &path, const epee::wipeable_string &pas

std::string m_wallet_file_canonical = boost::filesystem::canonical(m_wallet_file).string(); // weakly_canonical
std::string path_canonical = boost::filesystem::weakly_canonical(path).string();
size_t pos = m_wallet_file_canonical.find(path);
size_t pos = m_wallet_file_canonical.find(path_canonical);
same_file = pos != std::string::npos;

/////////////********<<<<<<<<<<<<<<<<<˜!˜!˜!˜!˜!
Expand Down

0 comments on commit 98aedda

Please sign in to comment.