From b0bbb2983f8caacf4a4bb775e7e3dec58cb08543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Fri, 14 May 2021 01:19:38 +0100 Subject: [PATCH] fix: remove async from function --- lib/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins.js b/lib/plugins.js index a5fa4308..4ce672e3 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -511,7 +511,7 @@ function plugins (settings, deviceId) { }) } - async function recordTradeAndTx (tradeId, internalTxIdList, dbTx) { + function recordTradeAndTx (tradeId, internalTxIdList, dbTx) { const columnSetCashin = new pgp.helpers.ColumnSet(['cash_in_tx_id', 'trade_id'], { table: 'cashin_tx_trades' }) const columnSetCashout = new pgp.helpers.ColumnSet(['cash_out_tx_id', 'trade_id'], { table: 'cashout_tx_trades' }) let cashinTxs = []