-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extended v3 contract support #15
Conversation
src/lib/SSVKeys.ts
Outdated
@@ -96,6 +92,7 @@ export class SSVKeys { | |||
*/ | |||
async buildShares(privateKey: string, operatorIds: number[], operatorPublicKeys: string[]): Promise<EncryptShare[]> { | |||
const threshold = await this.createThreshold(privateKey, operatorIds); | |||
console.log("?????", threshold) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/lib/SSVKeys.ts
Outdated
@@ -152,7 +149,7 @@ export class SSVKeys { | |||
) { | |||
throw Error('Operator public keys and shares public/encrypted keys length does not match or have zero length.'); | |||
} | |||
this.keySharesInstance.generateContractPayload({ | |||
this.keyShares.generateContractPayload({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make generateContractPayload
returning payload so that it would be faster to do:
return this.keyShares.generateContractPayload(...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Fixes #<issue_number_goes_here>