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