mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
gui: channel_details minor fix
This commit is contained in:
parent
a70441f0f1
commit
84c6a464e8
1 changed files with 2 additions and 4 deletions
|
@ -114,10 +114,8 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
|
||||||
self.update_sent_received()
|
self.update_sent_received()
|
||||||
|
|
||||||
def update_sent_received(self):
|
def update_sent_received(self):
|
||||||
self.sent_label.setText(str(htlcsum(
|
self.sent_label.setText(str(self.chan.total_msat(Direction.SENT)))
|
||||||
self.chan.total_msat(Direction.SENT))))
|
self.received_label.setText(str(self.chan.total_msat(Direction.RECEIVED)))
|
||||||
self.received_label.setText(str(htlcsum(
|
|
||||||
self.chan.total_msat(Direction.RECEIVED))))
|
|
||||||
|
|
||||||
@QtCore.pyqtSlot(str)
|
@QtCore.pyqtSlot(str)
|
||||||
def show_tx(self, link_text: str):
|
def show_tx(self, link_text: str):
|
||||||
|
|
Loading…
Add table
Reference in a new issue