fix: sweeping into same wallet

This commit is contained in:
SomberNight 2018-01-17 01:46:00 +01:00
parent 0dfaf9b970
commit a20a3f9714
1 changed files with 3 additions and 2 deletions

View File

@ -887,8 +887,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: