issues
search
Badger-Finance
/
badger-rewards
MIT License
3
stars
3
forks
source link
bug: problems with contributor boost date calc
#1004
Closed
SHAKOTN
closed
1 year ago
SHAKOTN
commented
1 year ago
"0xD798428e860465E08B522f8440f707593E6d22C6": NOW.month
datetime.datetime(2022, 7, 1).month - this is a timebomb left in the code. When 2023 came, this equation turned into negative numbers which lead to boost bot failure
"0xD798428e860465E08B522f8440f707593E6d22C6": NOW.month