diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-27 10:19:55 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-27 10:25:52 +0200 |
commit | 72785377306764ab999e4bab13b821e4e5ea11eb (patch) | |
tree | a4956a288edd9ccb9ee395e86c531a24eb562a44 | |
parent | db1ae5470babb3a0f8317036d3f563951171f888 (diff) | |
download | bitcoin-72785377306764ab999e4bab13b821e4e5ea11eb.tar.xz |
[Qt] Don't add arguments of sensitive command to console window
-rw-r--r-- | src/qt/rpcconsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 7a0d0b3e0a..bbcc3b6c0c 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -825,7 +825,7 @@ void RPCConsole::on_lineEdit_returnPressed() cmdBeforeBrowsing = QString(); - message(CMD_REQUEST, cmd); + message(CMD_REQUEST, QString::fromStdString(strFilteredCmd)); Q_EMIT cmdRequest(cmd); cmd = QString::fromStdString(strFilteredCmd); |