commit 84c6a464e80d7eecf77f44d4979c5e9f35a98a58 parent a70441f0f1f3ea325df3f64057e14fbb57f30b3b 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(-)
diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py @@ -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):