commit c32435c15e99ff952a309548dfafacd68a434adb
parent 3f954a8b3d39d2cb45927371a856802104f9182c
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 9 Feb 2018 15:48:12 +0100
Merge pull request #3737 from SomberNight/fix_sweep_into_same_wallet
fix: sweeping into same wallet
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1040,8 +1040,9 @@ class Abstract_Wallet(PrintError):
if fixed_fee is None and config.fee_per_kb() is None:
raise NoDynamicFeeEstimates()
- for item in inputs:
- self.add_input_info(item)
+ if not is_sweep:
+ for item in inputs:
+ self.add_input_info(item)
# change address
if change_addr: