aboutsummaryrefslogtreecommitdiffstats
path: root/internal/jsre/deps
diff options
context:
space:
mode:
authorLiang ZOU <liang.d.zou@gmail.com>2018-09-25 18:26:35 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-25 18:26:35 +0800
commit6663e5da10e7198f7ff5e883fd857240e59d476c (patch)
tree300654c5bfdc957423328d51af2339012d5673c0 /internal/jsre/deps
parent30cd5c18549f645002aedb4c00e5bab683cb0835 (diff)
downloaddexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.gz
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.bz2
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.lz
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.xz
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.tar.zst
dexon-6663e5da10e7198f7ff5e883fd857240e59d476c.zip
all: fix various comment typos (#17748)
Diffstat (limited to 'internal/jsre/deps')
-rw-r--r--internal/jsre/deps/web3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/jsre/deps/web3.js b/internal/jsre/deps/web3.js
index abd4b4fe5..df920bb1d 100644
--- a/internal/jsre/deps/web3.js
+++ b/internal/jsre/deps/web3.js
@@ -1021,7 +1021,7 @@ var formatOutputInt = function (param) {
var value = param.staticPart() || "0";
// check if it's negative number
- // it it is, return two's complement
+ // it is, return two's complement
if (signedIsNegative(value)) {
return new BigNumber(value, 16).minus(new BigNumber('ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', 16)).minus(1);
}
@@ -2250,7 +2250,7 @@ var isAddress = function (address) {
// check if it has the basic requirements of an address
return false;
} else if (/^(0x)?[0-9a-f]{40}$/.test(address) || /^(0x)?[0-9A-F]{40}$/.test(address)) {
- // If it's all small caps or all all caps, return true
+ // If it's all small caps or all caps, return true
return true;
} else {
// Otherwise check each case