From aae14a107ac45e2773ecf87bddab277573c2ceff Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 2 Apr 2017 11:10:11 +0100 Subject: simplewallet: allow setting confirm-missing-payment-id in watch wallets These can create transactions, even though they cannot sign them. --- src/simplewallet/simplewallet.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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 &args/* = st bool simple_wallet::set_confirm_missing_payment_id(const std::vector &args/* = std::vector()*/) { - 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) { -- cgit v1.2.3