qml: better fix
This commit is contained in:
@@ -143,12 +143,12 @@ Pane {
|
||||
Label {
|
||||
text: qsTr('Mempool depth')
|
||||
color: Material.accentColor
|
||||
visible: !txdetails.isMined && !txdetails.canBroadcast
|
||||
visible: txdetails.mempoolDepth
|
||||
}
|
||||
|
||||
Label {
|
||||
text: txdetails.mempoolDepth
|
||||
visible: !txdetails.isMined && !txdetails.canBroadcast
|
||||
visible: txdetails.mempoolDepth
|
||||
}
|
||||
|
||||
Label {
|
||||
|
||||
@@ -255,7 +255,7 @@ class QETxDetails(QObject, QtEventListener):
|
||||
self._is_mined = False if not txinfo.tx_mined_status else txinfo.tx_mined_status.height > 0
|
||||
if self._is_mined:
|
||||
self.update_mined_status(txinfo.tx_mined_status)
|
||||
else:
|
||||
elif txinfo.tx_mined_status.height == 0:
|
||||
self._mempool_depth = self._wallet.wallet.config.depth_tooltip(txinfo.mempool_depth_bytes)
|
||||
|
||||
if self._wallet.wallet.lnworker:
|
||||
|
||||
Reference in New Issue
Block a user