w3f / staking-rewards-collector

Apache License 2.0
78 stars 32 forks source link

Fix user input validation error message #38

Closed jrmykolyn closed 2 years ago

jrmykolyn commented 2 years ago

I was digging through some of the utility functions and I notice that one of the error messages thrown by verifyUserInput() is incorrect. The incorrect error message can be seen here: https://github.com/w3f/staking-rewards-collector/blob/master/src/utils.js#L189

I've introduced a pull request to fix this here: https://github.com/w3f/staking-rewards-collector/pull/37

Thanks!

jonasW3F commented 2 years ago

thanks