From 943f6436c77fd1b74b68d45c5f3dd4b78e3b0e10 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 5 Mar 2025 15:52:37 +0100 Subject: [PATCH] make_unsigned_transaction: make some parameters non-optional --- electrum/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index 1ad4fd0e2..46758ea8d 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -1824,10 +1824,10 @@ class Abstract_Wallet(ABC, Logger, EventListener): fee_policy: FeePolicy = None, change_addr: str = None, is_sweep: bool = False, # used by Wallet_2fa subclass - rbf: Optional[bool] = True, + rbf: bool = True, BIP69_sort: Optional[bool] = True, base_tx: Optional[PartialTransaction] = None, - send_change_to_lightning: Optional[bool] = None, + send_change_to_lightning: bool = False, ) -> PartialTransaction: """Can raise NotEnoughFunds or NoDynamicFeeEstimates."""