From a20a3f97144656337885046e28b0a3fda6284d2d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 17 Jan 2018 01:46:00 +0100 Subject: [PATCH] fix: sweeping into same wallet --- lib/wallet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index a9dc646b..50002e27 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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: