Skip to content

Commit c5cfd9b

Browse files
Merge pull request #5358 from BitGo/BTC-0.add-example.fix
fix: add closing parens in descriptor example
2 parents ec076c8 + 4db2b1c commit c5cfd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ts/create-descriptor-wallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function main() {
4545
// here is a 2of3 multisig descriptor for the backup key and BitGo key
4646
descriptor.createNamedDescriptorWithSignature(
4747
'MultiSigWsh',
48-
`wsh(multi(2,${xpubs.map((xpub) => `${xpub}/*`).join(',')})`,
48+
`wsh(multi(2,${xpubs.map((xpub) => `${xpub}/*`).join(',')}))`,
4949
userKey
5050
),
5151
// equivalent to the above, but returns two descriptors (external and internal)

0 commit comments

Comments
 (0)