Use format string

This commit is contained in:
pyoor 2018-08-29 18:05:55 -04:00
parent 2f87374476
commit 52417f6723

View file

@ -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 {