From 32c767fbe8a8dc8854333318563d5def368cf85f Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 6 Mar 2017 17:24:04 -0800 Subject: [PATCH] Linted --- app/scripts/lib/personal-message-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/lib/personal-message-manager.js b/app/scripts/lib/personal-message-manager.js index 17c9739de..ddc3ee39c 100644 --- a/app/scripts/lib/personal-message-manager.js +++ b/app/scripts/lib/personal-message-manager.js @@ -118,7 +118,7 @@ module.exports = class PersonalMessageManager extends EventEmitter{ log.debug(`Message was not hex encoded, interpreting as utf8.`) } - return hexEncode(data) + return this.hexEncode(data) } hexEncode(text){ @@ -127,7 +127,7 @@ module.exports = class PersonalMessageManager extends EventEmitter{ var result = '' for (i = 0; i < text.length; i++) { hex = text.charCodeAt(i).toString(16) - result += ('000'+hex).slice(-4) + result += ('000' + hex).slice(-4) } return '0x' + result }