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

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