You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client accepts a parameter parties: number[], which it also forwards to the server. However, due to how the client maps between the provided party ids and the other parameters like endpoints and sockets, providing anything else than [0, ..., n-1], where n is the number of endpoints, fails.
The reason is that the party ids are used for indexing into the endpoints and sockets arrays, as can be seen here:
The client accepts a parameter
parties: number[]
, which it also forwards to the server. However, due to how the client maps between the provided party ids and the other parameters likeendpoints
andsockets
, providing anything else than[0, ..., n-1]
, wheren
is the number of endpoints, fails.The reason is that the party ids are used for indexing into the
endpoints
andsockets
arrays, as can be seen here:tss-client/packages/tss-client/src/client.ts
Line 63 in bb1a5d9
tss-client/packages/tss-client/src/client.ts
Line 431 in bb1a5d9
The text was updated successfully, but these errors were encountered: