integration: return funds to our faucet
This commit is contained in:
parent
809e23f550
commit
52bcfe72be
5 changed files with 9 additions and 6 deletions
test/integration
|
@ -49,7 +49,7 @@ describe('bitcoinjs-lib (CLTV)', function () {
|
|||
var tx = new bitcoin.TransactionBuilder(network)
|
||||
tx.setLockTime(timeUtc)
|
||||
tx.addInput(unspent.txId, 0, 0xfffffffe)
|
||||
tx.addOutput('n2eMqTT929pb1RDNuqEnxdaLau1rxy3efi', 1e4)
|
||||
tx.addOutput(blockchain.t.RETURN, 1e4)
|
||||
|
||||
var txRaw = tx.buildIncomplete()
|
||||
var signatureHash = txRaw.hashForSignature(0, redeemScript, hashType)
|
||||
|
@ -82,7 +82,7 @@ describe('bitcoinjs-lib (CLTV)', function () {
|
|||
|
||||
var tx = new bitcoin.TransactionBuilder(network)
|
||||
tx.addInput(unspent.txId, 0, 0xfffffffe)
|
||||
tx.addOutput('n2eMqTT929pb1RDNuqEnxdaLau1rxy3efi', 1e4)
|
||||
tx.addOutput(blockchain.t.RETURN, 1e4)
|
||||
|
||||
var txRaw = tx.buildIncomplete()
|
||||
var signatureHash = txRaw.hashForSignature(0, redeemScript, hashType)
|
||||
|
@ -115,7 +115,7 @@ describe('bitcoinjs-lib (CLTV)', function () {
|
|||
var tx = new bitcoin.TransactionBuilder(network)
|
||||
tx.setLockTime(timeUtc)
|
||||
tx.addInput(unspent.txId, 0, 0xfffffffe)
|
||||
tx.addOutput('n2eMqTT929pb1RDNuqEnxdaLau1rxy3efi', 1e4)
|
||||
tx.addOutput(blockchain.t.RETURN, 1e4)
|
||||
|
||||
var txRaw = tx.buildIncomplete()
|
||||
var signatureHash = txRaw.hashForSignature(0, redeemScript, hashType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue