From c6a26b2c0762985150dfee272282d7e37d2fa882 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 21 Sep 2017 21:45:10 -0500 Subject: [PATCH] fix(lint): fix linting error --- app/lnd/methods/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/lnd/methods/index.js b/app/lnd/methods/index.js index c3cf80fd..d6038aaf 100644 --- a/app/lnd/methods/index.js +++ b/app/lnd/methods/index.js @@ -86,7 +86,12 @@ export default function (lnd, event, msg, data) { .then(newinvoice => event.sender.send( 'createdInvoice', - Object.assign(newinvoice, { memo: data.memo, value: data.value, r_hash: new Buffer(newinvoice.r_hash, 'hex').toString('hex'), creation_date: (Date.now() / 1000) }) + Object.assign(newinvoice, { + memo: data.memo, + value: data.value, + r_hash: new Buffer(newinvoice.r_hash, 'hex').toString('hex'), + creation_date: Date.now() / 1000 + }) ) ) .catch(error => console.log('addInvoice error: ', error))