commit cdecc4e3fa2119d052e047ddca98924f9fd606bf
parent 530a446172ac244a7a96b277edfeae9fffa65c1d
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 22 May 2020 17:18:43 +0200
wallet: increase gap limit for change (6 -> 10)
We are now using change addresses for the channel SRK to_remote outputs
(and reserving these change addresses). (see prev commits)
Note that every channel open we initiate typically uses two change addresses:
- one for the SRK to_remote output, and
- one for the funding tx change output (assuming there is change).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/wallet.py b/electrum/wallet.py
@@ -218,7 +218,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
LOGGING_SHORTCUT = 'w'
max_change_outputs = 3
- gap_limit_for_change = 6
+ gap_limit_for_change = 10
txin_type: str
wallet_type: str