Browse Source

Bugfix: Do not add sensitive information to history for real

Original code was missing braces, and short-circuited before checking everything after importprivkey
pull/1/head
Luke Dashjr 6 years ago
parent
commit
de8980df9d
  1. 5
      src/qt/rpcconsole.cpp

5
src/qt/rpcconsole.cpp

@ -768,7 +768,10 @@ void RPCConsole::on_lineEdit_returnPressed() @@ -768,7 +768,10 @@ void RPCConsole::on_lineEdit_returnPressed()
Q_FOREACH(QString unallowedCmd, historyFilter)
{
if (cmd.trimmed().startsWith(unallowedCmd))
storeHistory = false; break;
{
storeHistory = false;
break;
}
}
if (storeHistory)

Loading…
Cancel
Save