|
|
|
@ -441,9 +441,10 @@ class QETxDetails(QObject, QtEventListener): |
|
|
|
|
|
|
|
|
|
|
|
@pyqtSlot() |
|
|
|
@pyqtSlot() |
|
|
|
@pyqtSlot(bool) |
|
|
|
@pyqtSlot(bool) |
|
|
|
def removeLocalTx(self, confirm = False): |
|
|
|
def removeLocalTx(self, confirm=False): |
|
|
|
assert self._can_remove |
|
|
|
assert self._can_remove, 'cannot remove' |
|
|
|
txid = self._txid |
|
|
|
txid = self._txid |
|
|
|
|
|
|
|
assert txid, 'txid unset' |
|
|
|
|
|
|
|
|
|
|
|
if not confirm: |
|
|
|
if not confirm: |
|
|
|
num_child_txs = len(self._wallet.wallet.adb.get_depending_transactions(txid)) |
|
|
|
num_child_txs = len(self._wallet.wallet.adb.get_depending_transactions(txid)) |
|
|
|
|