Skip to content

client fails with party ids other than [0, 1, 2, 3] #67

Description

@matthiasgeihs

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:

const socket = tss_client.sockets[party];

return this.endpoints[party];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions