1
0

Merge pull request #7748 from spesmilo/confirm_reverse_swaps

Confirm reverse swaps
This commit is contained in:
ThomasV
2022-04-09 10:41:02 +02:00
committed by GitHub
4 changed files with 34 additions and 6 deletions

View File

@@ -241,6 +241,9 @@ class AddressSynchronizer(Logger):
conflicting_txns -= {tx_hash}
return conflicting_txns
def get_transaction(self, txid: str) -> Transaction:
return self.db.get_transaction(txid)
def add_transaction(self, tx: Transaction, *, allow_unrelated=False) -> bool:
"""
Returns whether the tx was successfully added to the wallet history.