@@ -45,8 +45,6 @@ describe('bitcoinjs-lib (transactions)', function () {
4545 } )
4646
4747 it ( 'can create (and broadcast via 3PBP) a typical Transaction' , function ( done ) {
48- this . timeout ( 30000 )
49-
5048 const alice1 = bitcoin . ECPair . makeRandom ( { network : regtest } )
5149 const alice2 = bitcoin . ECPair . makeRandom ( { network : regtest } )
5250 const aliceChange = bitcoin . ECPair . makeRandom ( { network : regtest , rng : rng } )
@@ -81,8 +79,6 @@ describe('bitcoinjs-lib (transactions)', function () {
8179 } )
8280
8381 it ( 'can create (and broadcast via 3PBP) a Transaction with an OP_RETURN output' , function ( done ) {
84- this . timeout ( 30000 )
85-
8682 const keyPair = bitcoin . ECPair . makeRandom ( { network : regtest } )
8783 const p2pkh = bitcoin . payments . p2pkh ( { pubkey : keyPair . publicKey , network : regtest } )
8884
@@ -103,8 +99,6 @@ describe('bitcoinjs-lib (transactions)', function () {
10399 } )
104100
105101 it ( 'can create (and broadcast via 3PBP) a Transaction, w/ a P2SH(P2MS(2 of 4)) (multisig) input' , function ( done ) {
106- this . timeout ( 30000 )
107-
108102 const keyPairs = [
109103 bitcoin . ECPair . makeRandom ( { network : regtest } ) ,
110104 bitcoin . ECPair . makeRandom ( { network : regtest } ) ,
@@ -141,8 +135,6 @@ describe('bitcoinjs-lib (transactions)', function () {
141135 } )
142136
143137 it ( 'can create (and broadcast via 3PBP) a Transaction, w/ a P2SH(P2WPKH) input' , function ( done ) {
144- this . timeout ( 30000 )
145-
146138 const keyPair = bitcoin . ECPair . makeRandom ( { network : regtest } )
147139 const p2wpkh = bitcoin . payments . p2wpkh ( { pubkey : keyPair . publicKey , network : regtest } )
148140 const p2sh = bitcoin . payments . p2sh ( { redeem : p2wpkh , network : regtest } )
@@ -172,8 +164,6 @@ describe('bitcoinjs-lib (transactions)', function () {
172164 } )
173165
174166 it ( 'can create (and broadcast via 3PBP) a Transaction, w/ a P2WPKH input' , function ( done ) {
175- this . timeout ( 30000 )
176-
177167 const keyPair = bitcoin . ECPair . makeRandom ( { network : regtest } )
178168 const p2wpkh = bitcoin . payments . p2wpkh ( { pubkey : keyPair . publicKey , network : regtest } )
179169
@@ -202,8 +192,6 @@ describe('bitcoinjs-lib (transactions)', function () {
202192 } )
203193
204194 it ( 'can create (and broadcast via 3PBP) a Transaction, w/ a P2WSH(P2PK) input' , function ( done ) {
205- this . timeout ( 30000 )
206-
207195 const keyPair = bitcoin . ECPair . makeRandom ( { network : regtest } )
208196 const p2pk = bitcoin . payments . p2pk ( { pubkey : keyPair . publicKey , network : regtest } )
209197 const p2wsh = bitcoin . payments . p2wsh ( { redeem : p2pk , network : regtest } )
@@ -233,8 +221,6 @@ describe('bitcoinjs-lib (transactions)', function () {
233221 } )
234222
235223 it ( 'can create (and broadcast via 3PBP) a Transaction, w/ a P2SH(P2WSH(P2MS(3 of 4))) (SegWit multisig) input' , function ( done ) {
236- this . timeout ( 50000 )
237-
238224 const keyPairs = [
239225 bitcoin . ECPair . makeRandom ( { network : regtest } ) ,
240226 bitcoin . ECPair . makeRandom ( { network : regtest } ) ,
0 commit comments