qt ChannelDetails: fix show_tx

This commit is contained in:
SomberNight 2019-05-26 07:27:29 +02:00 committed by ThomasV
parent 6d8c605307
commit 18a2a169c7

View file

@ -119,7 +119,7 @@ class ChannelDetailsDialog(QtWidgets.QDialog):
@QtCore.pyqtSlot(str)
def show_tx(self, link_text: str):
funding_tx = self.window.wallet.transactions[self.chan.funding_outpoint.txid]
funding_tx = self.window.wallet.db.get_transaction(self.chan.funding_outpoint.txid)
self.window.show_transaction(funding_tx, tx_desc=_('Funding Transaction'))
def __init__(self, window: 'ElectrumWindow', chan_id: bytes):