fix: remove async from function

This commit is contained in:
José Oliveira 2021-05-14 01:19:38 +01:00 committed by Josh Harvey
parent da6076b359
commit b0bbb2983f

View file

@ -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 = []