Skip to content

Commit

Permalink
Change Access Level of m_w2 field in monero_wallet_full class (#41)
Browse files Browse the repository at this point in the history
Access level of m_w2 field in monero_wallet_full class changed from private to protected.
  • Loading branch information
jiwruzim authored Oct 13, 2023
1 parent ebad8f4 commit 5d2652c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wallet/monero_wallet_full.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,15 @@ namespace monero {
std::string get_keys_file_buffer(const epee::wipeable_string& password, bool view_only) const;
std::string get_cache_file_buffer() const;

// --------------------------------- PROTECTED --------------------------------

protected:
std::unique_ptr<tools::wallet2> m_w2; // internal wallet implementation

// ---------------------------------- PRIVATE ---------------------------------

private:
friend struct wallet2_listener;
std::unique_ptr<tools::wallet2> m_w2; // internal wallet implementation
std::unique_ptr<wallet2_listener> m_w2_listener; // internal wallet implementation listener
std::set<monero_wallet_listener*> m_listeners; // external wallet listeners

Expand Down

0 comments on commit 5d2652c

Please sign in to comment.