Update testnet.html

This commit is contained in:
supertestnet authored and GitHub committed 2023-03-14 12:11:18 -05:00
1 parent 67f9e7e4e6
commit 4aa5762fab
1 file changed
+1 -1
+1 -1
View File
@@ -339,7 +339,7 @@
locktime: 0
}
const sec = await BTON.Tap.getSeckey(seckey.raw, [ leaf ]);
const sig = await BTON.Sig.taproot.sign(seckey.raw, redeemtx, 0, { extention: leaf });
const sig = await BTON.Sig.taproot.sign(seckey.raw, redeemtx, 0, { extension: leaf });
redeemtx.input[0].witness = [ sig, script, cblock ];
console.dir(redeemtx, { depth: null });
//await BTON.Sig.taproot.verify(redeemtx, 0, {extension: leaf}, true);