Skip to content

Commit 05f9d4c

Browse files
committed
rename generated files
1 parent 71bdb73 commit 05f9d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/CalculatingRewardsService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export class CalculatingRewardsService {
229229
activeNodes = await this.calculateRewardAmounts(activeNodes, totalStakeRewarding, rewardAmount);
230230
let activeNodesDataJSON = JSON.stringify(activeNodes, (_, v) => typeof v === 'bigint' ? v.toString() : v, 2);
231231
const generatedFilesPath = `generated-files/reward-epoch-${rewardEpoch}`
232-
fs.writeFileSync(`${generatedFilesPath}/nodes-data-min-conditions.json`, activeNodesDataJSON, "utf8");
232+
fs.writeFileSync(`${generatedFilesPath}/nodes-data.json`, activeNodesDataJSON, "utf8");
233233

234234
// for the reward epoch create JSON file with rewarded addresses and reward amounts
235235
// sum rewards per epoch and address
@@ -258,7 +258,7 @@ export class CalculatingRewardsService {
258258

259259
// for the whole rewarding period create JSON file with rewarded addresses, reward amounts and parameters needed to replicate output
260260
let fullDataJSON = JSON.stringify(fullData, (_, v) => typeof v === 'bigint' ? v.toString() : v, 2);
261-
fs.writeFileSync(`${generatedFilesPath}/data-min-conditions.json`, fullDataJSON, "utf8");
261+
fs.writeFileSync(`${generatedFilesPath}/data.json`, fullDataJSON, "utf8");
262262
}
263263

264264
private async getFtsoAddress(ftsoAddressFile: string) {

0 commit comments

Comments
 (0)