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 adc8a33 commit 599f16bCopy full SHA for 599f16b
src/payments/p2tr.js
@@ -31,7 +31,11 @@ function p2tr(a, opts) {
31
internalPubkey: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)),
32
hash: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)),
33
pubkey: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)),
34
- signature: types_1.typeforce.maybe(types_1.typeforce.anyOf[types_1.typeforce.BufferN(64), types_1.typeforce.BufferN(65)]),
+ signature: types_1.typeforce.maybe(
35
+ types_1.typeforce.anyOf[
36
+ (types_1.typeforce.BufferN(64), types_1.typeforce.BufferN(65))
37
+ ],
38
+ ),
39
witness: types_1.typeforce.maybe(
40
types_1.typeforce.arrayOf(types_1.typeforce.Buffer),
41
),
0 commit comments