fix exchange_sig: correctly group and order denominations

This commit is contained in:
swrup 2026-02-23 09:02:39 +01:00 committed by Swrup
parent 481adaf53e
commit abfd35c425
5 changed files with 141 additions and 104 deletions

View file

@ -1229,10 +1229,6 @@ module ExchangeKeysResponse = struct
hard_limits: AccountLimit.t list;
zero_limits: ZeroLimitedOperation.t list;
denominations: DenomGroup.t list;
(* Compact EdDSA signature (binary-only) over the
contatentation of all of the master_sigs (in reverse
chronological order by group) in the arrays under
"denominations" *)
exchange_sig: ExchangeKeySet.t;
exchange_pub: EddsaPublicKey.t;
recoup: RecoupDenoms.t list;