Transaction: move constants to Transaction

This commit is contained in:
Daniel Cousens 2014-06-16 17:31:01 +10:00
parent 4850570955
commit d07cfccbc1
2 changed files with 11 additions and 11 deletions

View file

@ -93,7 +93,7 @@ describe('Transaction', function() {
var tx = new Transaction()
tx.addInput(prevTxHash, 0)
assert.equal(tx.ins[0].sequence, 0xffffffff)
assert.equal(tx.ins[0].sequence, Transaction.DEFAULT_SEQUENCE)
})
fixtures.valid.forEach(function(f) {