Correct padding in generated Solidity proposal code

This commit is contained in:
Theo 2023-06-12 15:18:32 -07:00
parent ed130ad30f
commit 861f4cddaf
2 changed files with 3 additions and 4 deletions

@ -390,4 +390,4 @@
accrueOldReward(stakers[i].addr, stakers[i].oldRewards);
}
IERC20(tornAddress).transfer(stakingProxyAddress, 51_038_101_771_805_874_869_526);
IERC20(tornAddress).transfer(stakingProxyAddress, 51_038_101_771_805_874_869_526);

@ -46,9 +46,8 @@ async function main() {
`for (uint64 i = 0; i < stakers.length; i++){\n` +
`${codePadding3}` +
commandToAccrueRewards +
`\n${codePadding2}}\n` +
`\n${codePadding2}}\n\n` +
codePadding2 +
'\n' +
commandToReplenishStaking;
fs.writeFileSync(path.join("data", "codeToAccrueRewards.txt"), codeToAccrueRewards);