diff options
author | Jon Atack <jon@atack.com> | 2021-01-30 18:53:40 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-01-30 20:28:37 +0100 |
commit | 506e6585a54818d0613a067f91c0bac2f308a48c (patch) | |
tree | f52b55645db388a3eb08b46b7bf3bbad09de0928 /src/qt/guiutil.cpp | |
parent | 16b784d953365bb2d7ae65acd2b20a79ef8ba7b6 (diff) |
gui: display plain "Inbound" in peer details
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 376acf0963..0c2bbe9516 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -766,10 +766,10 @@ QString NetworkToQString(Network net) assert(false); } -QString ConnectionTypeToQString(ConnectionType conn_type, bool relay_txes) +QString ConnectionTypeToQString(ConnectionType conn_type) { switch (conn_type) { - case ConnectionType::INBOUND: return relay_txes ? QObject::tr("Inbound Full Relay") : QObject::tr("Inbound Block Relay"); + case ConnectionType::INBOUND: return QObject::tr("Inbound"); case ConnectionType::OUTBOUND_FULL_RELAY: return QObject::tr("Outbound Full Relay"); case ConnectionType::BLOCK_RELAY: return QObject::tr("Outbound Block Relay"); case ConnectionType::MANUAL: return QObject::tr("Outbound Manual"); |