w3f / staking-rewards-collector

Apache License 2.0
78 stars 32 forks source link

Use the current date if no end date is specified #21

Closed aelesbao closed 2 years ago

aelesbao commented 3 years ago

This change allows the user to remove the end date on config/userInput.json and calculate all rewards until the present day.

jonasW3F commented 2 years ago

Thanks for the PR, but I prefer that the userInput.json is properly filled out by the user at all times.