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);
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user