From a90431320ceda734c98540b4a0c6490e6592dc7c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 2 Mar 2017 11:57:24 +0100 Subject: [PATCH] fix sweep --- lib/wallet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/wallet.py b/lib/wallet.py index 7251807a..734b77fb 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -872,6 +872,7 @@ class Abstract_Wallet(PrintError): for item in u: if len(inputs) >= imax: break + item['type'] = 'p2pkh' item['scriptPubKey'] = pay_script item['redeemPubkey'] = pubkey item['address'] = address