simplewallet: allow setting confirm-missing-payment-id in watch wallets

These can create transactions, even though they cannot sign them.
This commit is contained in:
moneromooo-monero 2017-04-02 11:10:11 +01:00
parent c9063c0b8f
commit aae14a107a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 0 additions and 6 deletions

View File

@ -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)
{