Skip to content

Commit

Permalink
Bugfix: Do not add sensitive information to history for real
Browse files Browse the repository at this point in the history
Original code was missing braces, and short-circuited before checking everything after importprivkey
  • Loading branch information
luke-jr committed Dec 29, 2016
1 parent 9044908 commit de8980d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de8980d

Please sign in to comment.