diff options
author | stoffu <stoffu@protonmail.ch> | 2018-07-30 14:38:55 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-08-16 09:54:23 +0900 |
commit | a64f57fe42292720415a507feb4f543ef3c3adbe (patch) | |
tree | ca327c88c272d3f8087c793f15833e656039e820 /src/wallet/wallet2.h | |
parent | Merge pull request #4196 (diff) | |
download | monero-a64f57fe42292720415a507feb4f543ef3c3adbe.tar.xz |
wallet2: make --restricted-rpc available for wallet RPC only
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 */ |