diff --git a/lib/blockchain/chain.js b/lib/blockchain/chain.js index 303f2c10..82f82a8d 100644 --- a/lib/blockchain/chain.js +++ b/lib/blockchain/chain.js @@ -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);