Modify interface
This commit is contained in:
parent
3b402d00c6
commit
ccd439b805
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ export interface ECPairInterface {
|
|||
privateKey?: Buffer;
|
||||
publicKey?: Buffer;
|
||||
toWIF(): string;
|
||||
sign(hash: Buffer): Buffer;
|
||||
sign(hash: Buffer, lowR?: boolean): Buffer;
|
||||
verify(hash: Buffer, signature: Buffer): Buffer;
|
||||
getPublicKey?(): Buffer;
|
||||
}
|
||||
|
|
2
types/ecpair.d.ts
vendored
2
types/ecpair.d.ts
vendored
|
@ -11,7 +11,7 @@ export interface ECPairInterface {
|
|||
privateKey?: Buffer;
|
||||
publicKey?: Buffer;
|
||||
toWIF(): string;
|
||||
sign(hash: Buffer): Buffer;
|
||||
sign(hash: Buffer, lowR?: boolean): Buffer;
|
||||
verify(hash: Buffer, signature: Buffer): Buffer;
|
||||
getPublicKey?(): Buffer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue