aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:15:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:15:00 +0800
commit88c96c70521a0cc8f2cbdd3500f820e979054125 (patch)
tree6236b334ce0ca210d8d816ab326b32ec2b36c4be /src/utils
parent9680cc1270ad7a457331b4314daca397a23e9331 (diff)
downloaddexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.gz
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.bz2
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.lz
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.xz
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.zst
dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.zip
Use template strings
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/abi_decoder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts
index 05389a05f..528a0e831 100644
--- a/src/utils/abi_decoder.ts
+++ b/src/utils/abi_decoder.ts
@@ -61,6 +61,6 @@ export class AbiDecoder {
}
formatted = _.padStart(formatted, 40, '0');
- return '0x' + formatted;
+ return `0x${formatted}`;
}
}