We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a04b9d5 commit ddef6c8Copy full SHA for ddef6c8
src/payments/p2tr.js
@@ -12,7 +12,7 @@ const verifyecc_1 = require('./verifyecc');
12
const OPS = bscript.OPS;
13
const TAPROOT_WITNESS_VERSION = 0x01;
14
const ANNEX_PREFIX = 0x50;
15
-const LEAF_VERSION_MASK = 0b11111110;
+const LEAF_VERSION_MASK = 0xfe;
16
function p2tr(a, opts) {
17
if (
18
!a.address &&
ts_src/payments/p2tr.ts
@@ -19,7 +19,7 @@ import { verifyEcc } from './verifyecc';
19
20
21
22
23
24
export function p2tr(a: Payment, opts?: PaymentOpts): Payment {
25
0 commit comments