From 8ed25df4856b2a37537844f8183926b665cca987 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 2 Oct 2020 12:51:36 +0300 Subject: [PATCH] prettier --- src/Transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transaction.js b/src/Transaction.js index a9a229b..27a212d 100644 --- a/src/Transaction.js +++ b/src/Transaction.js @@ -291,7 +291,7 @@ class Transaction { * @private */ _hasError(message, errors) { - return errors.find((e) => (typeof e === 'string' ? e === message : message.match(e))) !== undefined + return errors.find(e => (typeof e === 'string' ? e === message : message.match(e))) !== undefined } _increaseGasPrice() {