Correct padding in generated Solidity proposal code
This commit is contained in:
parent
ed130ad30f
commit
861f4cddaf
@ -390,4 +390,4 @@
|
|||||||
accrueOldReward(stakers[i].addr, stakers[i].oldRewards);
|
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` +
|
`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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user