diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-06 21:15:00 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-06 21:15:00 +0800 |
commit | 88c96c70521a0cc8f2cbdd3500f820e979054125 (patch) | |
tree | 6236b334ce0ca210d8d816ab326b32ec2b36c4be | |
parent | 9680cc1270ad7a457331b4314daca397a23e9331 (diff) | |
download | dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.gz dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.tar.zst dexon-sol-tools-88c96c70521a0cc8f2cbdd3500f820e979054125.zip |
Use template strings
-rw-r--r-- | src/utils/abi_decoder.ts | 2 |
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}`; } } |