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

These can create transactions, even though they cannot sign them.
release-v0.11.0.0
moneromooo-monero 7 years ago
parent c9063c0b8f
commit aae14a107a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save