diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-02 11:10:11 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-02 11:10:11 +0100 |
commit | aae14a107ac45e2773ecf87bddab277573c2ceff (patch) | |
tree | 19793da35464f64ff9fe724fd6a6800a906f51b7 /src | |
parent | Merge pull request #1930 (diff) | |
download | monero-aae14a107ac45e2773ecf87bddab277573c2ceff.tar.xz |
simplewallet: allow setting confirm-missing-payment-id in watch wallets
These can create transactions, even though they cannot sign them.
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index f5a469af4..67dacda91 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -559,12 +559,6 @@ bool simple_wallet::set_refresh_type(const std::vector<std::string> &args/* = st bool simple_wallet::set_confirm_missing_payment_id(const std::vector<std::string> &args/* = std::vector<std::string>()*/) { - if (m_wallet->watch_only()) - { - fail_msg_writer() << tr("wallet is watch-only and cannot transfer"); - return true; - } - const auto pwd_container = get_and_verify_password(); if (pwd_container) { |