test: upgrade ecpair lib to version 2.0.1
This commit is contained in:
parent
4e02ba70b1
commit
2edfb992fa
8 changed files with 32 additions and 122 deletions
test/integration
|
@ -1,7 +1,10 @@
|
|||
import { ECPair } from 'ecpair';
|
||||
import ECPairFactory from 'ecpair';
|
||||
import * as ecc from 'tiny-secp256k1';
|
||||
import { describe, it } from 'mocha';
|
||||
import * as bitcoin from '../..';
|
||||
import { regtestUtils } from './_regtest';
|
||||
|
||||
const ECPair = ECPairFactory(ecc);
|
||||
const NETWORK = regtestUtils.network;
|
||||
const keyPairs = [
|
||||
ECPair.makeRandom({ network: NETWORK }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue