await promise

This commit is contained in:
Daniel Lugo 2020-02-29 17:56:08 -04:00
parent 74520a15bf
commit 38a8172431

View file

@ -54,7 +54,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
.get(orderID) .get(orderID)
.then() .then()
if (alreadyAnswered) { if (await alreadyAnswered) {
logger.info('this order is already answered, quitting') logger.info('this order is already answered, quitting')
return return
} }