If the set of parties is not contiguous or does not begin from keygen index 0 when provided to the signing code, the save data must be re-indexed/filtered outside the lib to make signing work.
This patch offers a workaround whereby the save data is temporarily re-built for the signing rounds to contain the expected ordered lists, removing the need for app-layer code to do that for a non-contiguous set of signers.
If the set of parties is not contiguous or does not begin from keygen index 0 when provided to the signing code, the save data must be re-indexed/filtered outside the lib to make signing work.
This patch offers a workaround whereby the save data is temporarily re-built for the signing rounds to contain the expected ordered lists, removing the need for app-layer code to do that for a non-contiguous set of signers.