Update testnet.html
This commit is contained in:
1 parent
67f9e7e4e6
commit
4aa5762fab
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user