From 46e37790205b6e2d46a1127704551f0b174eeb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rich=CE=9Brd?= Date: Mon, 2 Aug 2021 08:08:29 -0400 Subject: [PATCH] fix: code review --- src/app/wallet/views/gas.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/wallet/views/gas.nim b/src/app/wallet/views/gas.nim index 307dba6a74..dfb4f99264 100644 --- a/src/app/wallet/views/gas.nim +++ b/src/app/wallet/views/gas.nim @@ -56,9 +56,9 @@ QtObject: discard gasLimit.parseInt(gasLimitInt) - # The following two check prevents app crash, cause we're trying to promote - # gweiValueInt and gasLimitInt to unsigned 256 int, and these two numbers - # must be positive numbers, because of overflow. + # The following check prevents app crash, cause we're trying to promote + # gasLimitInt to unsigned 256 int, and this number must be a positive number, + # because of overflow. var gwei = gweiValue.parseFloat() if (gwei < 0): gwei = 0