1
0

fix base_tx type

base_tx in make_unsigned_transaction
is expected to be of type
Optional[Transaction], not boolean.
This commit is contained in:
Oren
2025-03-17 14:47:29 +02:00
parent 3463e68306
commit e658d9118a

View File

@@ -313,7 +313,7 @@ class SendTab(QWidget, MessageBoxMixin, Logger):
if get_coins is None:
get_coins = self.window.get_coins
def make_tx(fee_policy, *, confirmed_only=False, base_tx=False):
def make_tx(fee_policy, *, confirmed_only=False, base_tx=None):
coins = get_coins(nonlocal_only=nonlocal_only, confirmed_only=confirmed_only)
return self.wallet.make_unsigned_transaction(
fee_policy=fee_policy,