Skip to content

Commit

Permalink
Merge pull request #10 from taikoxyz/nft-trail
Browse files Browse the repository at this point in the history
fix: nft deployed indexer
  • Loading branch information
bennettyong authored Jul 29, 2024
2 parents 1c55653 + 10c0e20 commit ffabeba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/blocks/nft_deployed.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (indexer *NftDeployedIndexer) ProcessBlock(ctx context.Context, block *type

isErc721, err := supportsInterface(receipt.ContractAddress, client, ERC721InterfaceID)
if err != nil {
return nil, err
continue
}

if isErc721 {
Expand All @@ -96,7 +96,7 @@ func (indexer *NftDeployedIndexer) ProcessBlock(ctx context.Context, block *type

isErc1155, err := supportsInterface(receipt.ContractAddress, client, ERC1155InterfaceID)
if err != nil {
return nil, err
continue
}

if isErc1155 {
Expand Down

0 comments on commit ffabeba

Please sign in to comment.