From 26ed69647961f43cf6fa7163b49805b7bd715d66 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 8 Dec 2024 10:41:55 +0100 Subject: [PATCH] swaps: follow-up d838b6c9b9b4d669c81832f5be256aca148c89d7 --- electrum/submarine_swaps.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index 80ded80bd..9a4bad267 100644 --- a/electrum/submarine_swaps.py +++ b/electrum/submarine_swaps.py @@ -468,7 +468,7 @@ class SwapManager(Logger): for batch_rbf in [False]: # FIXME: tx batching is disabled, because extra logic is needed to handle # the case where the base tx gets mined. - tx = self.create_funding_tx(swap, None, password=password, batch_rbf=batch_rbf) + tx = self.create_funding_tx(swap, None, password=password) self.logger.info(f'adding funding_tx {tx.txid()}') self.wallet.adb.add_transaction(tx) try: @@ -779,7 +779,6 @@ class SwapManager(Logger): tx: Optional[PartialTransaction], *, password, - batch_rbf: Optional[bool] = None, ) -> PartialTransaction: # create funding tx # note: rbf must not decrease payment @@ -790,7 +789,6 @@ class SwapManager(Logger): outputs=[funding_output], rbf=True, password=password, - batch_rbf=batch_rbf, ) else: tx.replace_output_address(DummyAddress.SWAP, swap.lockup_address)