#create for Transaction and tests

This commit is contained in:
Matias Alejo Garcia 2014-03-15 12:22:36 -03:00
parent 35f5c9c570
commit 128662ceee
1 changed files with 0 additions and 1 deletions

View File

@ -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');
});