1
0

wallet/GUI: don't allow "removing" a LN force-close-tx from history

This commit is contained in:
SomberNight
2020-03-02 05:11:08 +01:00
parent 32acc2b10e
commit 7a574c3cbc
4 changed files with 15 additions and 12 deletions

View File

@@ -345,7 +345,7 @@ class AddressSynchronizer(Logger):
prevout = TxOutpoint(bfh(tx_hash), idx)
self.db.remove_prevout_by_scripthash(scripthash, prevout=prevout, value=txo.value)
def get_depending_transactions(self, tx_hash):
def get_depending_transactions(self, tx_hash: str) -> Set[str]:
"""Returns all (grand-)children of tx_hash in this wallet."""
with self.transaction_lock:
children = set()