Bugfix: Do not add sensitive information to history for real

Original code was missing braces, and short-circuited before checking everything after importprivkey
This commit is contained in:
Luke Dashjr 2016-10-04 04:11:01 +00:00
parent 9044908636
commit de8980df9d

View file

@ -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)