diff --git a/radix-common/src/math/precise_decimal.rs b/radix-common/src/math/precise_decimal.rs index 958d154d5c..de85c68b00 100644 --- a/radix-common/src/math/precise_decimal.rs +++ b/radix-common/src/math/precise_decimal.rs @@ -101,8 +101,8 @@ impl PreciseDecimal { ])); /// Constructs a [`PreciseDecimal`] from its underlying `10^(-36)` subunits. - pub const fn from_precise_subunits(attos: I256) -> Self { - Self(attos) + pub const fn from_precise_subunits(precise_subunits: I256) -> Self { + Self(precise_subunits) } /// Returns the underlying `10^(-36)` subunits of the [`PreciseDecimal`].