Move lowR to public writable attribute
This commit is contained in:
parent
af8f41a1e5
commit
1605f99e17
3 changed files with 10 additions and 2 deletions
types
2
types/ecpair.d.ts
vendored
2
types/ecpair.d.ts
vendored
|
@ -20,6 +20,7 @@ export interface SignerAsync {
|
|||
export interface ECPairInterface extends Signer {
|
||||
compressed: boolean;
|
||||
network: Network;
|
||||
lowR: boolean;
|
||||
privateKey?: Buffer;
|
||||
toWIF(): string;
|
||||
verify(hash: Buffer, signature: Buffer): boolean;
|
||||
|
@ -29,6 +30,7 @@ declare class ECPair implements ECPairInterface {
|
|||
private __Q?;
|
||||
compressed: boolean;
|
||||
network: Network;
|
||||
lowR: boolean;
|
||||
constructor(__D?: Buffer | undefined, __Q?: Buffer | undefined, options?: ECPairOptions);
|
||||
readonly privateKey: Buffer | undefined;
|
||||
readonly publicKey: Buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue