Call getOrder.

This commit is contained in:
Maria Carmina 2023-04-10 15:14:02 +03:00
parent ae90545396
commit a55f613d1d
1 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,13 @@ export function searchOrderForEvent(
log.info('event address: {}', [address])
log.info('typeof order datatoken: {}', [typeof order.datatoken])
log.info('typeof hex event address: {}', [typeof address])
return order
// add break
return getOrder(
transactionHash,
address,
transactionFrom,
firstEventIndex
)
}
firstEventIndex--
}