qml: check if self._orig_tx is valid. fixes #8407
This commit is contained in:
@@ -525,7 +525,7 @@ class QETxRbfFeeBumper(TxFeeSlider, TxMonMixin):
|
|||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if not self._txid:
|
if not self._txid or not self._orig_tx:
|
||||||
# not initialized yet
|
# not initialized yet
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -632,7 +632,7 @@ class QETxCanceller(TxFeeSlider, TxMonMixin):
|
|||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if not self._txid:
|
if not self._txid or not self._orig_tx:
|
||||||
# not initialized yet
|
# not initialized yet
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user