@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 +1 -1
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +1 -1
- package/lib/cli.js.map +1 -1
- package/lib/clis/index.cjs +1 -1
- package/lib/clis/index.cjs.map +1 -1
- package/lib/clis/index.js +1 -1
- package/lib/clis/index.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/clis/index.cjs
CHANGED
|
@@ -668,7 +668,7 @@ var MiningRotations = class {
|
|
|
668
668
|
const slot1StartTick = this.genesisTick + this.miningConfig.slotBiddingStartAfterTicks + ticksBetweenSlots;
|
|
669
669
|
if (tick < slot1StartTick) return 0;
|
|
670
670
|
const ticksSinceSlot1 = tick - slot1StartTick;
|
|
671
|
-
return Math.floor(ticksSinceSlot1 / ticksBetweenSlots);
|
|
671
|
+
return Math.floor(ticksSinceSlot1 / ticksBetweenSlots) + 1;
|
|
672
672
|
}
|
|
673
673
|
async getForHeader(client, header) {
|
|
674
674
|
if (header.number.toNumber() === 0) return 0;
|