From e903f5c20da8c39c0d844a176b2ee4faed60eca6 Mon Sep 17 00:00:00 2001
From: Tom French <tom@tomfren.ch>
Date: Fri, 29 Jul 2022 00:10:49 +0100
Subject: [PATCH] fix: remove unnecessary conversion to 32 bit

---
 packages/api/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/api/utils.js b/packages/api/utils.js
index ba4dbefa6..b59d259d6 100644
--- a/packages/api/utils.js
+++ b/packages/api/utils.js
@@ -1,5 +1,5 @@
 function amountToInteger(n) {
-  return Math.round(n * 100) | 0;
+  return Math.round(n * 100);
 }
 
 function integerToAmount(n) {
-- 
GitLab