fix brackets usage

This commit is contained in:
Alexander Kolotov 2020-10-07 18:05:17 +03:00
parent 30208b4f8e
commit 4198b092a6

@ -71,7 +71,7 @@ function processCollectedSignaturesBuilder(config) {
const isRelayTokens = originalTx.input.slice(2, 10) === '5d1e9307' const isRelayTokens = originalTx.input.slice(2, 10) === '5d1e9307'
logger.info(`Is the relayTokens method invoked: ${isRelayTokens}`) logger.info(`Is the relayTokens method invoked: ${isRelayTokens}`)
const sender = originalTx.from.toLowerCase() const sender = originalTx.from.toLowerCase()
if (allowanceList.indexOf(sender) === -1) && !isRelayTokens { if allowanceList.indexOf(sender) === -1 && !isRelayTokens {
logger.info( logger.info(
{ sender, recipient }, { sender, recipient },
'Validator skips a transaction. Neither sender nor recipient addresses are in the allowance list.' 'Validator skips a transaction. Neither sender nor recipient addresses are in the allowance list.'