chain: fix typo.

This commit is contained in:
Christopher Jeffrey 2017-09-19 13:30:53 -07:00
parent 4c18dc5d0e
commit 991213d303
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2583,7 +2583,7 @@ Chain.prototype.verifyFinal = async function verifyFinal(prev, tx, flags) {
Chain.prototype.getLocks = async function getLocks(prev, tx, view, flags) {
const GRANULARITY = consensus.SEQUENCE_GRANULARITY;
const DISABE_FLAG = consensus.SEQUENCE_DISABLE_FLAG;
const DISABLE_FLAG = consensus.SEQUENCE_DISABLE_FLAG;
const TYPE_FLAG = consensus.SEQUENCE_TYPE_FLAG;
const MASK = consensus.SEQUENCE_MASK;
@ -2597,7 +2597,7 @@ Chain.prototype.getLocks = async function getLocks(prev, tx, view, flags) {
let minTime = -1;
for (const {prevout, sequence} of tx.inputs) {
if (sequence & DISABE_FLAG)
if (sequence & DISABLE_FLAG)
continue;
let height = view.getHeight(prevout);