Merge pull request #24276 from paytaca/master

Make network argument in ECPair.fromWIF method optional
This commit is contained in:
Arthur Ozga
2018-03-15 12:27:52 -07:00
committed by GitHub

View File

@@ -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;
}