Merge pull request #5977

e85c838 simplewallet: do not print warning for locked coinbase txes (moneromooo-monero)
This commit is contained in:
luigi1111 2019-10-22 10:14:33 -05:00
commit 99e4c403cb
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -5131,7 +5131,7 @@ void simple_wallet::on_money_received(uint64_t height, const crypto::hash &txid,
tr("WARNING: this transaction uses an unencrypted payment ID: these are obsolete and ignored. Use subaddresses instead.");
}
}
if (unlock_time)
if (unlock_time && !cryptonote::is_coinbase(tx))
message_writer() << tr("NOTE: This transaction is locked, see details with: show_transfer ") + epee::string_tools::pod_to_hex(txid);
if (m_auto_refresh_refreshing)
m_cmd_binder.print_prompt();