mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
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
@ -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…
x
Reference in New Issue
Block a user