Browse Source

integration: adhere to new nullData API

addLowRGrinding
Daniel Cousens 7 years ago
parent
commit
6344be50ae
  1. 2
      test/integration/transactions.js

2
test/integration/transactions.js

@ -84,7 +84,7 @@ describe('bitcoinjs-lib (transactions)', function () {
var txb = new bitcoin.TransactionBuilder(regtest)
var data = Buffer.from('bitcoinjs-lib', 'utf8')
var dataScript = bitcoin.script.nullData.output.encode(data)
var dataScript = bitcoin.script.nullData.output.encode([data])
txb.addInput(unspent.txId, unspent.vout)
txb.addOutput(dataScript, 1000)

Loading…
Cancel
Save