Browse Source

fix tx/input tests

master
matiu 7 years ago
parent
commit
244534512b
  1. 2
      test/transaction/input/multisig.js
  2. 4
      test/transaction/input/multisigscripthash.js
  3. 2
      test/transaction/input/publickeyhash.js

2
test/transaction/input/multisig.js

@ -21,7 +21,7 @@ describe('MultiSigInput', function() {
var public1 = privateKey1.publicKey;
var public2 = privateKey2.publicKey;
var public3 = privateKey3.publicKey;
var address = new Address('33zbk2aSZYdNbRsMPPt6jgy6Kq1kQreqeb');
var address = new Address('H8piCq1XQrr3DbkPF5YFi5VdMV2mCQEnKW');
var output = {
txId: '66e64ef8a3b384164b78453fa8c8194de9a473ba14f89485a0e433699daec140',

4
test/transaction/input/multisigscripthash.js

@ -21,10 +21,10 @@ describe('MultiSigScriptHashInput', function() {
var public1 = privateKey1.publicKey;
var public2 = privateKey2.publicKey;
var public3 = privateKey3.publicKey;
var address = new Address('33zbk2aSZYdNbRsMPPt6jgy6Kq1kQreqeb');
var address = new Address('H8piCq1XQrr3DbkPF5YFi5VdMV2mCQEnKW');
var output = {
address: '33zbk2aSZYdNbRsMPPt6jgy6Kq1kQreqeb',
address: 'H8piCq1XQrr3DbkPF5YFi5VdMV2mCQEnKW',
txId: '66e64ef8a3b384164b78453fa8c8194de9a473ba14f89485a0e433699daec140',
outputIndex: 0,
script: new Script(address),

2
test/transaction/input/publickeyhash.js

@ -20,7 +20,7 @@ describe('PublicKeyHashInput', function() {
var address = new Address(publicKey, Networks.livenet);
var output = {
address: '33zbk2aSZYdNbRsMPPt6jgy6Kq1kQreqeb',
address: 'H8piCq1XQrr3DbkPF5YFi5VdMV2mCQEnKW',
txId: '66e64ef8a3b384164b78453fa8c8194de9a473ba14f89485a0e433699daec140',
outputIndex: 0,
script: new Script(address),

Loading…
Cancel
Save