stackswap-front-api-test-02 1.1.72 → 1.1.73
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.
|
@@ -418,7 +418,7 @@ export class Farm3Manager {
|
|
|
418
418
|
async getFarmDataMinimal(farm, farm_round, block_height, oracle_data, type, current_round = null) {
|
|
419
419
|
farm.valid = false;
|
|
420
420
|
farm.cur_round = farm_round;
|
|
421
|
-
if (current_round && Number(current_round) + 1
|
|
421
|
+
if (current_round && Number(current_round) + 1 < Number(farm_round))
|
|
422
422
|
farm_round = Number(current_round) + 1;
|
|
423
423
|
if (this.localCache[`${farm.token_swapr}|FarmPairData`] == null ||
|
|
424
424
|
Number(this.localCache[`${farm.token_swapr}|FarmPairData`].block_height) < Number(block_height)) {
|