@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/index.cjs CHANGED
@@ -647,7 +647,7 @@ var MiningRotations = class {
647
647
  const slot1StartTick = this.genesisTick + this.miningConfig.slotBiddingStartAfterTicks + ticksBetweenSlots;
648
648
  if (tick < slot1StartTick) return 0;
649
649
  const ticksSinceSlot1 = tick - slot1StartTick;
650
- return Math.floor(ticksSinceSlot1 / ticksBetweenSlots);
650
+ return Math.floor(ticksSinceSlot1 / ticksBetweenSlots) + 1;
651
651
  }
652
652
  async getForHeader(client, header) {
653
653
  if (header.number.toNumber() === 0) return 0;