aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-16 22:48:18 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-16 22:48:18 +0200
commit810dd0a5f6eac73acc73fc0883afdbfc768f8015 (patch)
treee485e6c5e848f72859ef16141ed792fbaacdea73 /src
parentMerge pull request #5447 (diff)
parentsimplewallet: add another warning about long payment ids (diff)
downloadmonero-810dd0a5f6eac73acc73fc0883afdbfc768f8015.tar.xz
Merge pull request #5450
926e0472 simplewallet: add another warning about long payment ids (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 8c8afba56..560c5be24 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -4092,6 +4092,14 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
if (welcome)
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;
}
//----------------------------------------------------------------------------------------------------