Open alopatindev opened 11 months ago
(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)
Currency
Copy
Currency::minor_units
dec!(10).powd(-Currency::exponent)
(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)