@argonprotocol/mainchain 1.1.0-rc.6 → 1.1.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli.cjs CHANGED
@@ -652,7 +652,7 @@ var MiningRotations = class {
652
652
  const slot1StartTick = this.genesisTick + this.miningConfig.slotBiddingStartAfterTicks + ticksBetweenSlots;
653
653
  if (tick < slot1StartTick) return 0;
654
654
  const ticksSinceSlot1 = tick - slot1StartTick;
655
- return Math.floor(ticksSinceSlot1 / ticksBetweenSlots);
655
+ return Math.floor(ticksSinceSlot1 / ticksBetweenSlots) + 1;
656
656
  }
657
657
  async getForHeader(client, header) {
658
658
  if (header.number.toNumber() === 0) return 0;