|
|
@ -42,7 +42,9 @@ function buildAndSign (depends, prevOutput, redeemScript, witnessScript, done) { |
|
|
|
const { output } = fn(base) |
|
|
|
if (!output) throw new TypeError('Missing output') |
|
|
|
|
|
|
|
describe('bitcoinjs-lib (payments - ' + k + ')', () => { |
|
|
|
describe('bitcoinjs-lib (payments - ' + k + ')', function () { |
|
|
|
this.timeout(30000) |
|
|
|
|
|
|
|
it('can broadcast as an output, and be spent as an input', (done) => { |
|
|
|
buildAndSign(depends, output, null, null, done) |
|
|
|
}) |
|
|
|