Transaction: move constants to Transaction
This commit is contained in:
parent
4850570955
commit
d07cfccbc1
2 changed files with 11 additions and 11 deletions
test
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue