From f8714dd57a8285aab9822f5a50fcf88649a8ab62 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 16 Mar 2025 17:01:07 +0100 Subject: [PATCH] fix #9635 --- electrum/wallet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electrum/wallet.py b/electrum/wallet.py index b92a8df0a..e2b5a7468 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -1728,6 +1728,9 @@ class Abstract_Wallet(ABC, Logger, EventListener): return dust_threshold(self.network) def get_candidates_for_batching(self, outputs, coins) -> Sequence[Transaction]: + # do not batch if we spend max (not supported by make_unsigned_transaction) + if any([parse_max_spend(o.value) is not None for o in outputs]): + return [] candidates = [] domain = self.get_addresses() for hist_item in self.adb.get_history(domain):