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
0.14
Luke Dashjr 8 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()
Q_FOREACH(QString unallowedCmd, historyFilter) Q_FOREACH(QString unallowedCmd, historyFilter)
{ {
if (cmd.trimmed().startsWith(unallowedCmd)) if (cmd.trimmed().startsWith(unallowedCmd))
storeHistory = false; break; {
storeHistory = false;
break;
}
} }
if (storeHistory) if (storeHistory)

Loading…
Cancel
Save