diff --git a/sway-lib-std/src/math.sw b/sway-lib-std/src/math.sw index 82452b3ba89..31bcad2645d 100644 --- a/sway-lib-std/src/math.sw +++ b/sway-lib-std/src/math.sw @@ -65,7 +65,7 @@ impl Power for u256 { return one; } - let mut exp = exponentgi; + let mut exp = exponent; let mut base = self; let mut acc = one;