simplewallet: do not print warning for locked coinbase txes

since they're all locked for a fixed amount
release-v0.7.1.0
moneromooo-monero 5 years ago
parent bf525793c7
commit e85c838154
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -5108,7 +5108,7 @@ void simple_wallet::on_money_received(uint64_t height, const crypto::hash &txid,
(m_long_payment_id_support ? tr("WARNING: this transaction uses an unencrypted payment ID: consider using subaddresses instead.") : tr("WARNING: this transaction uses an unencrypted payment ID: these are obsolete. Support will be withdrawn in the future. 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();

Loading…
Cancel
Save