Merge pull request #3737 from SomberNight/fix_sweep_into_same_wallet

fix: sweeping into same wallet
This commit is contained in:
ThomasV 2018-02-09 15:48:12 +01:00 committed by GitHub
commit c32435c15e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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: