mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Merge pull request #24276 from paytaca/master
Make network argument in ECPair.fromWIF method optional
This commit is contained in:
2
types/bitcoinjs-lib/index.d.ts
vendored
2
types/bitcoinjs-lib/index.d.ts
vendored
@@ -85,7 +85,7 @@ export class ECPair {
|
||||
|
||||
static fromPublicKeyBuffer(buffer: Buffer, network: Network): ECPair;
|
||||
|
||||
static fromWIF(string: string, network: Network): ECPair;
|
||||
static fromWIF(string: string, network?: Network): ECPair;
|
||||
|
||||
static makeRandom(options?: { compressed?: boolean, network?: Network, rng?: Rng }): ECPair;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user