simplewallet: add another warning about long payment ids

This commit is contained in:
moneromooo-monero 2019-04-16 10:10:24 +00:00
parent 1f809e7485
commit 926e047288
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -4092,6 +4092,14 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
if (welcome) if (welcome)
message_writer(console_color_yellow, true) << tr("If you are new to Monero, type \"welcome\" for a brief overview."); message_writer(console_color_yellow, true) << tr("If you are new to Monero, type \"welcome\" for a brief overview.");
if (m_long_payment_id_support)
{
message_writer(console_color_red, false) <<
tr("WARNING: obsolete long payment IDs are enabled. Sending transactions with those payment IDs are bad for your privacy.");
message_writer(console_color_red, false) <<
tr("It is recommended that you do not use them, and ask recipients who ask for one to not endanger your privacy.");
}
return true; return true;
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------