<p>The <code>pk()</code> is part of the <code>tr()</code> as a script expression. The <code>musig()</code> component is completed at the first comma.</p>

CC BY-SA 4.0
2024-07-15T01:55:11.087Z
oh, it was my mistake. thanks!
Shigeyuki Azuchi
CC BY-SA 4.0
2024-07-14T17:26:56.263Z
2024-07-14T17:26:56.263Z
Ava Chow
<p>In the following test vector described in BIP390, the musig() descriptor takes a pk() descriptor as an argument:</p>
<blockquote>
<p>tr(musig(xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL,xpub68NZiKmJWnxxS6aaHmn81bvJeTESw724CRDs6HbuccFQN9Ku14VQrADWgqbhhTHBaohPX4CjNLf9fq9MYo6oDaPPLPxSb7gwQN3ih19Zm4Y)/0/*,pk(f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9))</p>
</blockquote>
<p>In the specification, the musig() descriptor takes a Key expression as an argument. I think that the pk descriptor itself is not the Key expression itself. Is this a mistake with the Test Vector?</p>

<output-script-descriptors><musig>
Why does the musig() descriptor accept the pk descriptor as an argument?
Shigeyuki Azuchi
# Why does the musig() descriptor accept the pk descriptor as an argument?

(Asked by: username_0 on 2024-07-14)

In the following test vector described in BIP390, the musig() descriptor takes a pk() descriptor as an argument:

> tr(musig(xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL,xpub68NZiKmJWnxxS6aaHmn81bvJeTESw724CRDs6HbuccFQN9Ku14VQrADWgqbhhTHBaohPX4CjNLf9fq9MYo6oDaPPLPxSb7gwQN3ih19Zm4Y)/0/\*,pk(f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9))

In the specification, the musig() descriptor takes a Key expression as an argument. I think that the pk descriptor itself is not the Key expression itself. Is this a mistake with the Test Vector?

**Tags:** output-script-descriptors, musig


---

## 1 answers

### Answer by username_1 on 2024-07-14. Score: 2 | Accepted answer

The `pk()` is part of the `tr()` as a script expression. The `musig()` component is completed at the first comma.

> **Comments:**
> **username_0**: oh, it was my mistake. thanks!  

---

