From 967036dfd6a788d44a44d0e60fbed90b494486fb Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 22 Jun 2021 12:25:58 +0300 Subject: [PATCH] Typo in variable name --- src/utils/safe-math.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/safe-math.ts b/src/utils/safe-math.ts index bbe7f95c..c6f892f0 100644 --- a/src/utils/safe-math.ts +++ b/src/utils/safe-math.ts @@ -28,8 +28,8 @@ export class TokenAmount { } format() { - const vaule = this.wei.dividedBy(this._decimals) - return vaule.toFormat(vaule.isInteger() ? 0 : this.decimals) + const value = this.wei.dividedBy(this._decimals) + return value.toFormat(value.isInteger() ? 0 : this.decimals) } fixed() {