From 101a2cd5401abb358b9d7f00373bfeeb7b3df8d0 Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:18:05 +0300 Subject: [PATCH] order.nftOwner = ADDRESS_ZERO fix --- src/mappings/erc20Templates.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappings/erc20Templates.ts b/src/mappings/erc20Templates.ts index f9d44c6..4fd4a31 100644 --- a/src/mappings/erc20Templates.ts +++ b/src/mappings/erc20Templates.ts @@ -62,6 +62,7 @@ export function handleOrderStarted(event: OrderStarted): void { } } else { log.info("nft not found", []) + order.nftOwner = ADDRESS_ZERO } const payer = getUser(event.params.payer.toHex())