diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 20:11:54 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 20:11:54 -0500 |
commit | b780cf4db1f9dfc49e7f16afc47892a5b40fe68a (patch) | |
tree | ca327c88c272d3f8087c793f15833e656039e820 /src/wallet/wallet2.h | |
parent | Merge pull request #4196 (diff) | |
parent | wallet2: make --restricted-rpc available for wallet RPC only (diff) | |
download | monero-b780cf4db1f9dfc49e7f16afc47892a5b40fe68a.tar.xz |
Merge pull request #4191
a64f57f wallet2: make --restricted-rpc available for wallet RPC only (stoffu)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 6e6c1a6ee..d04156461 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -167,7 +167,7 @@ namespace tools static bool verify_password(const std::string& keys_file_name, const epee::wipeable_string& password, bool no_spend_key, hw::device &hwdev, uint64_t kdf_rounds); - wallet2(cryptonote::network_type nettype = cryptonote::MAINNET, bool restricted = false, uint64_t kdf_rounds = 1); + wallet2(cryptonote::network_type nettype = cryptonote::MAINNET, uint64_t kdf_rounds = 1); ~wallet2(); struct multisig_info @@ -687,7 +687,6 @@ namespace tools RefreshType get_refresh_type() const { return m_refresh_type; } cryptonote::network_type nettype() const { return m_nettype; } - bool restricted() const { return m_restricted; } bool watch_only() const { return m_watch_only; } bool multisig(bool *ready = NULL, uint32_t *threshold = NULL, uint32_t *total = NULL) const; bool has_multisig_partial_key_images() const; @@ -1259,7 +1258,6 @@ namespace tools i_wallet2_callback* m_callback; bool m_key_on_device; cryptonote::network_type m_nettype; - bool m_restricted; uint64_t m_kdf_rounds; std::string seed_language; /*!< Language of the mnemonics (seed). */ bool is_old_file_format; /*!< Whether the wallet file is of an old file format */ |