Open
Description
Is there something wrong with the calculation in nextInitializedTickArrayStartIndex
method?
const nextTickArrayStartIndex = zeroForOne
? lastTickArrayStartIndex - TickQuery.tickCount(tickSpacing)
: lastTickArrayStartIndex + TickQuery.tickCount(tickSpacing);
I think when zeroForOne is true,
nextTickArrayStartIndex should be : lastTickArrayStartIndex
,not lastTickArrayStartIndex - TickQuery.tickCount(tickSpacing)
Metadata
Metadata
Assignees
Labels
No labels