qml: ignore update() when wallet not set yet. closes #8330
This commit is contained in:
@@ -302,6 +302,10 @@ class QETxFinalizer(TxFeeSlider):
|
|||||||
return tx
|
return tx
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
if not self._wallet:
|
||||||
|
self._logger.debug('wallet not set, ignoring update()')
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# make unsigned transaction
|
# make unsigned transaction
|
||||||
tx = self.make_tx(amount = '!' if self._amount.isMax else self._amount.satsInt)
|
tx = self.make_tx(amount = '!' if self._amount.isMax else self._amount.satsInt)
|
||||||
|
|||||||
Reference in New Issue
Block a user