From b26c19e2dc69e8f23f8f090493bbc17eb810b17e Mon Sep 17 00:00:00 2001 From: bucko13 Date: Wed, 31 Oct 2018 11:36:08 -0700 Subject: [PATCH] update exponent to be 3 instead of 5 --- lib/ui/amount.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/amount.js b/lib/ui/amount.js index 2b0eeff4..7c5a24b2 100644 --- a/lib/ui/amount.js +++ b/lib/ui/amount.js @@ -90,7 +90,7 @@ class Amount { */ toMilli(num) { - return Amount.encode(this.value, 5, num); + return Amount.encode(this.value, 3, num); } /** @@ -180,7 +180,7 @@ class Amount { */ fromMilli(value) { - this.value = Amount.decode(value, 5); + this.value = Amount.decode(value, 3); return this; }