chain: fix typo.
This commit is contained in:
parent
4c18dc5d0e
commit
991213d303
@ -2583,7 +2583,7 @@ Chain.prototype.verifyFinal = async function verifyFinal(prev, tx, flags) {
|
|||||||
|
|
||||||
Chain.prototype.getLocks = async function getLocks(prev, tx, view, flags) {
|
Chain.prototype.getLocks = async function getLocks(prev, tx, view, flags) {
|
||||||
const GRANULARITY = consensus.SEQUENCE_GRANULARITY;
|
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 TYPE_FLAG = consensus.SEQUENCE_TYPE_FLAG;
|
||||||
const MASK = consensus.SEQUENCE_MASK;
|
const MASK = consensus.SEQUENCE_MASK;
|
||||||
|
|
||||||
@ -2597,7 +2597,7 @@ Chain.prototype.getLocks = async function getLocks(prev, tx, view, flags) {
|
|||||||
let minTime = -1;
|
let minTime = -1;
|
||||||
|
|
||||||
for (const {prevout, sequence} of tx.inputs) {
|
for (const {prevout, sequence} of tx.inputs) {
|
||||||
if (sequence & DISABE_FLAG)
|
if (sequence & DISABLE_FLAG)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
let height = view.getHeight(prevout);
|
let height = view.getHeight(prevout);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user