tgui: channel_details minor fix - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 84c6a464e80d7eecf77f44d4979c5e9f35a98a58
DIR parent a70441f0f1f3ea325df3f64057e14fbb57f30b3b
HTML Author: ThomasV <thomasv@electrum.org>
Date: Thu, 23 May 2019 15:16:14 +0200
gui: channel_details minor fix
Diffstat:
M electrum/gui/qt/channel_details.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
DIR diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py
t@@ -114,10 +114,8 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
self.update_sent_received()
def update_sent_received(self):
- self.sent_label.setText(str(htlcsum(
- self.chan.total_msat(Direction.SENT))))
- self.received_label.setText(str(htlcsum(
- self.chan.total_msat(Direction.RECEIVED))))
+ self.sent_label.setText(str(self.chan.total_msat(Direction.SENT)))
+ self.received_label.setText(str(self.chan.total_msat(Direction.RECEIVED)))
@QtCore.pyqtSlot(str)
def show_tx(self, link_text: str):