fix: new outputs format and payment requests
This commit is contained in:
@@ -522,7 +522,7 @@ class Transaction:
|
||||
pubkey = public_key_from_private_key(privkey)
|
||||
address = address_from_private_key(privkey)
|
||||
u = network.synchronous_get([ ('blockchain.address.listunspent',[address])])[0]
|
||||
pay_script = klass.pay_script(address)
|
||||
pay_script = klass.pay_script('address', address)
|
||||
for item in u:
|
||||
item['scriptPubKey'] = pay_script
|
||||
item['redeemPubkey'] = pubkey
|
||||
|
||||
Reference in New Issue
Block a user