Browse Source

#create for Transaction and tests

patch-2
Matias Alejo Garcia 11 years ago
parent
commit
128662ceee
  1. 1
      test/test.Transaction.js

1
test/test.Transaction.js

@ -108,7 +108,6 @@ describe('Transaction', function() {
outs = [{address:'mrPnbY1yKDBsdgbHbS7kJ8GVm8F66hWHLE', amount:0.08}];
tx = Transaction.create(utxos, outs, {fee:0.03} );
tx.serialize().toString('hex').should.equal('0100000002c1cf12ab89729d19d3cdec8ae531b5038d56c741006a105d532b3a7afa65c12a0100000000ffffffffc2cf12ab89729d19d3cdec8ae531b5038d56c741006a105d532b3a7afa65c12a0000000000ffffffff0100127a00000000001976a914774e603bafb717bd3f070e68bbcccfd907c77d1388ac00000000');
});

Loading…
Cancel
Save