Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(claimsmanager): properly check index to avoid invalid data in Use…
…rClaims,UserLastEpochClaims This change ensures that we correctly check for missing values in keeper.(UserClaims, UserLastEpochClaims) because otherwise due to the blind assumption that the key would always be well formed, +1 and +1+1 were being added respectively which would mean that the condition "idx >= 0" would ALWAYS pass and send over the wrong data if the key happened to contain the address bytes. Fixes #1217 Supersedes PR #1223
- Loading branch information