Insrt-Finance / insrt-v2-contracts

0 stars 3 forks source link

`UpdateTokenRisks` flows should only update token risks if a new risk value is chosen #97

Closed NouDaimon closed 1 year ago

NouDaimon commented 1 year ago

Currently updateTokenRisks may be called for the same risk. This should be prevented - enforced by requiring a new risk to be set - this may be crucial given what resolution is found for #91.