Merge pull request #41 from ChainSafe/cayman/fromKeygen-ikm

Optional ikm param for bls.PrivateKey.fromKeygen
This commit is contained in:
Cayman 2020-11-29 14:32:11 -07:00 committed by GitHub
commit 3bb136cfcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ export interface IBls {
PrivateKey: { PrivateKey: {
fromBytes(bytes: Uint8Array): IPrivateKey; fromBytes(bytes: Uint8Array): IPrivateKey;
fromHex(hex: string): IPrivateKey; fromHex(hex: string): IPrivateKey;
fromKeygen(): IPrivateKey; fromKeygen(ikm?: Uint8Array): IPrivateKey;
}; };
PublicKey: { PublicKey: {
fromBytes(bytes: Uint8Array): IPublicKey; fromBytes(bytes: Uint8Array): IPublicKey;