From 52417f6723d7ca7d71ea22513781d6a3116ba4d0 Mon Sep 17 00:00:00 2001 From: pyoor Date: Wed, 29 Aug 2018 18:05:55 -0400 Subject: [PATCH] Use format string --- lib/utils/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/common.js b/lib/utils/common.js index 2e7b0cb..3b9d1bc 100644 --- a/lib/utils/common.js +++ b/lib/utils/common.js @@ -49,7 +49,7 @@ class common extends utils { return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function toSolidBytes (match, p1) { // noinspection JSCheckFunctionSignatures - return String.fromCharCode('0x' + p1) + return String.fromCharCode(`0x${p1}`) }) ) } else {