Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Fix Signer interface
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw committed Aug 6, 2019
1 parent 099360a commit dfda8c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ts_src/ecpair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ interface ECPairOptions {

export interface Signer {
publicKey: Buffer;
network?: Network;
network?: any;
sign(hash: Buffer, lowR?: boolean): Buffer;
getPublicKey?(): Buffer;
}

export interface SignerAsync {
publicKey: Buffer;
network?: Network;
network?: any;
sign(hash: Buffer, lowR?: boolean): Promise<Buffer>;
getPublicKey?(): Buffer;
}
Expand Down
4 changes: 2 additions & 2 deletions types/ecpair.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ interface ECPairOptions {
}
export interface Signer {
publicKey: Buffer;
network?: Network;
network?: any;
sign(hash: Buffer, lowR?: boolean): Buffer;
getPublicKey?(): Buffer;
}
export interface SignerAsync {
publicKey: Buffer;
network?: Network;
network?: any;
sign(hash: Buffer, lowR?: boolean): Promise<Buffer>;
getPublicKey?(): Buffer;
}
Expand Down

0 comments on commit dfda8c5

Please sign in to comment.