commit dbcd5fe59d2821a9c39ecb6f49f7934d72177a17 parent 3c8dea9b284662a161e5aee380e9ed6901193d1b Author: ThomasV <thomasv@electrum.org> Date: Wed, 23 Jan 2019 13:34:19 +0100 channel_details: minor fix Diffstat:
M | electrum/gui/qt/channel_details.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py @@ -114,8 +114,8 @@ class ChannelDetailsDialog(QtWidgets.QDialog): self.update_sent_received() def update_sent_received(self): - self.sent_label.setText(str(htlcsum(self.hm.settled_htlcs_by(LOCAL)))) - self.received_label.setText(str(htlcsum(self.hm.settled_htlcs_by(REMOTE)))) + self.sent_label.setText(str(htlcsum(self.chan.hm.settled_htlcs_by(LOCAL)))) + self.received_label.setText(str(htlcsum(self.chan.hm.settled_htlcs_by(REMOTE)))) @QtCore.pyqtSlot(str) def show_tx(self, link_text: str):