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:
parent
9044908636
commit
de8980df9d
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue