p2sh test

This commit is contained in:
callebtc
2022-10-03 21:19:45 +02:00
parent 570534510e
commit 78e94ecf66
3 changed files with 10 additions and 18 deletions

View File

@@ -241,8 +241,6 @@ async def lock(ctx):
wallet: Wallet = ctx.obj["WALLET"]
p2shscript = await wallet.create_p2sh_lock()
txin_p2sh_address = p2shscript.address
txin_redeemScript_b64 = p2shscript.script
txin_signature_b64 = p2shscript.signature
print("---- Pay to script hash (P2SH) ----\n")
print("Use a lock to receive coins that only you can unlock.")
print("")