diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-10 18:25:57 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-10 18:29:30 +0000 |
commit | e85c83815418dbc5bef2b5b007f19e486acfc8aa (patch) | |
tree | 628bc3d9af7f2c7c9982678fd45444709b9c20ce /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #5915 (diff) | |
download | monero-e85c83815418dbc5bef2b5b007f19e486acfc8aa.tar.xz |
simplewallet: do not print warning for locked coinbase txes
since they're all locked for a fixed amount
Diffstat (limited to '')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index f07d142fb..0da535b2b 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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(); |