Update README, add deprecation warning

This commit is contained in:
junderw 2019-07-19 15:10:58 +09:00
parent e19bc58b30
commit d05806fe69
No known key found for this signature in database
GPG key ID: B256185D3A971908
8 changed files with 28 additions and 0 deletions
test/integration

View file

@ -7,6 +7,7 @@ const keyPairs = [
bitcoin.ECPair.makeRandom({ network: NETWORK }),
bitcoin.ECPair.makeRandom({ network: NETWORK })
]
console.warn = () => {} // Silence the Deprecation Warning
async function buildAndSign (depends, prevOutput, redeemScript, witnessScript) {
const unspent = await regtestUtils.faucetComplex(prevOutput, 5e4)