File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ describe('bitcoinjs-lib (transactions)', () => {
193
193
const keyPair = bitcoin . ECPair . makeRandom ( { network : regtest } )
194
194
const p2wpkh = bitcoin . payments . p2wpkh ( { pubkey : keyPair . publicKey , network : regtest } )
195
195
196
- const unspent = await regtestUtils . faucetComplex ( p2wpkh . address , 5e4 )
196
+ const unspent = await regtestUtils . faucetComplex ( p2wpkh . output , 5e4 )
197
197
198
198
// XXX: build the Transaction w/ a P2WPKH input
199
199
const txb = new bitcoin . TransactionBuilder ( regtest )
@@ -223,7 +223,7 @@ describe('bitcoinjs-lib (transactions)', () => {
223
223
const p2pk = bitcoin . payments . p2pk ( { pubkey : keyPair . publicKey , network : regtest } )
224
224
const p2wsh = bitcoin . payments . p2wsh ( { redeem : p2pk , network : regtest } )
225
225
226
- const unspent = await regtestUtils . faucetComplex ( p2wsh . address , 5e4 )
226
+ const unspent = await regtestUtils . faucetComplex ( p2wsh . output , 5e4 )
227
227
228
228
// XXX: build the Transaction w/ a P2WSH input
229
229
const txb = new bitcoin . TransactionBuilder ( regtest )
You can’t perform that action at this time.
0 commit comments