stackswap-front-api-test-02 1.1.8 → 1.1.9
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.
|
@@ -501,7 +501,7 @@ class Farm2Manager {
|
|
|
501
501
|
if (this.localCache[`${farm.farm_group}|FarmReward`] == null ||
|
|
502
502
|
Number(this.localCache[`${farm.farm_group}|FarmReward`].block_height) < Number(block_height)) {
|
|
503
503
|
const farm_temp_total_data = await this.getFarmingTotalStatusCycle2(farm_round, farming_contract);
|
|
504
|
-
farm.reward =
|
|
504
|
+
farm.reward = farm_temp_total_data.reward;
|
|
505
505
|
this.localCache[`${farm.farm_group}|FarmReward`] = {
|
|
506
506
|
block_height: block_height,
|
|
507
507
|
data: farm_temp_total_data.reward,
|
package/package.json
CHANGED
|
@@ -583,7 +583,7 @@ export class Farm2Manager {
|
|
|
583
583
|
if(this.localCache[`${farm.farm_group}|FarmReward`] == null ||
|
|
584
584
|
Number(this.localCache[`${farm.farm_group}|FarmReward`].block_height) < Number(block_height)){
|
|
585
585
|
const farm_temp_total_data = await this.getFarmingTotalStatusCycle2(farm_round, farming_contract);
|
|
586
|
-
farm.reward =
|
|
586
|
+
farm.reward = farm_temp_total_data.reward;
|
|
587
587
|
this.localCache[`${farm.farm_group}|FarmReward`] = {
|
|
588
588
|
block_height : block_height,
|
|
589
589
|
data : farm_temp_total_data.reward,
|