From dadbbc6de439ad4d4953ebc15b15ff06118035d3 Mon Sep 17 00:00:00 2001
From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com>
Date: Sat, 21 Jun 2025 12:03:15 +0200
Subject: [PATCH] 388: fix incorrect example
As per the test vectors, musig key expressions require the aggregation step
to precede the change/address_index derivations.
---
bip-0388.mediawiki | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bip-0388.mediawiki b/bip-0388.mediawiki
index cc9de427..13e640f2 100644
--- a/bip-0388.mediawiki
+++ b/bip-0388.mediawiki
@@ -242,7 +242,7 @@ Common single-signature account patterns:
Common multisig schemes:
* wsh(multi(2,@0/**,@1/**)) - SegWit 2-of-2 multisig, keys in order.
* sh(sortedmulti(2,@0/**,@1/**,@2/**)) - Legacy 2-of-3 multisig, sorted keys.
-* tr(musig(@0/**,@1/**)) - MuSig2 2-of-2 in the taproot keypath
+* tr(musig(@0,@1)/**) - MuSig2 2-of-2 in the taproot keypath
Some miniscript policies in wsh:
* wsh(and_v(v:pk(@0/**),or_d(pk(@1/**),older(12960)))) - Trust-minimized second factor, degrading to a single signature after about 90 days.