1
0

qml: ignore update() when wallet not set yet. closes #8330

This commit is contained in:
Sander van Grieken
2023-04-22 12:18:02 +02:00
parent 7383cdc474
commit 0d536b83ba

View File

@@ -302,6 +302,10 @@ class QETxFinalizer(TxFeeSlider):
return tx
def update(self):
if not self._wallet:
self._logger.debug('wallet not set, ignoring update()')
return
try:
# make unsigned transaction
tx = self.make_tx(amount = '!' if self._amount.isMax else self._amount.satsInt)