refactor: Use getOrDefault instead of if-else
Closed this issue · 1 comments
nya-elimu commented
To reduce the amount of code, refactor usage of if-else for populating HashMaps to use getOrDefault
instead.
For context, see #1273 (comment)
nya-elimu commented
@Shubham-Vishwakarma Your $ELIMU 💎 token rewards: https://etherscan.io/tx/0x3fc9bcf7cd34bb2339893ae609bb9aa34a0526c932d18072da9a02f925e5cc0f