You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Taking into account that Currency is Copy, so we put all its fields on stack) Currency::minor_units seems to be redundant, because it can be computed from something like dec!(10).powd(-Currency::exponent)
The text was updated successfully, but these errors were encountered:
It's defined for the currencies, but I don't see any code that actually uses it. I only see uses of exponent. So yeah, I think this field could just be removed, right? Or am I missing something?
(Taking into account that
Currency
isCopy
, so we put all its fields on stack)Currency::minor_units
seems to be redundant, because it can be computed from something likedec!(10).powd(-Currency::exponent)
The text was updated successfully, but these errors were encountered: