await promise
This commit is contained in:
parent
74520a15bf
commit
38a8172431
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
|
|||
.get(orderID)
|
||||
.then()
|
||||
|
||||
if (alreadyAnswered) {
|
||||
if (await alreadyAnswered) {
|
||||
logger.info('this order is already answered, quitting')
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue