aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/utils.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-09 04:27:55 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-09 05:56:45 +0800
commit1c3dc757c3332dad39f47e25cbbbdc60ce2540da (patch)
treef7cca8c6a29bafc79f7f3fd5438c15907f799647 /packages/sol-cov/src/utils.ts
parent25866095dbc7ae7e08f1f44939c7cf1910d50b6b (diff)
downloaddexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar.gz
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar.bz2
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar.lz
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar.xz
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.tar.zst
dexon-sol-tools-1c3dc757c3332dad39f47e25cbbbdc60ce2540da.zip
Fix typos
Diffstat (limited to 'packages/sol-cov/src/utils.ts')
-rw-r--r--packages/sol-cov/src/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-cov/src/utils.ts b/packages/sol-cov/src/utils.ts
index 7333b2f4d..0b32df02e 100644
--- a/packages/sol-cov/src/utils.ts
+++ b/packages/sol-cov/src/utils.ts
@@ -24,7 +24,7 @@ export const utils = {
.replace(/.{86}$/, '')
// Libraries contain their own address at the beginning of the code and it's impossible to know it in advance
.replace(/^0x730000000000000000000000000000000000000000/, '0x73........................................');
- // HACK: Node regexes can't be longer that 32767 characters. Contracts bytecode can. We jsut truncate the regexes. It's safe in practice.
+ // HACK: Node regexes can't be longer that 32767 characters. Contracts bytecode can. We just truncate the regexes. It's safe in practice.
const MAX_REGEX_LENGTH = 32767;
const truncatedBytecodeRegex = bytecodeRegex.slice(0, MAX_REGEX_LENGTH);
return truncatedBytecodeRegex;