Skip to content

Commit

Permalink
add also DynamicNonFungible
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Feb 6, 2025
1 parent 31b242d commit 7a074be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process/elasticproc/logsevents/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ func serializeTokenTransferOwnership(tokenData *data.TokenInfo, index string) ([
// SerializeSupplyData will serialize the provided supply data
func (lep *logsAndEventsProcessor) SerializeSupplyData(tokensSupply data.TokensHandler, buffSlice *data.BufferSlice, index string) error {
for _, supplyData := range tokensSupply.GetAll() {
if supplyData.Type != core.NonFungibleESDT && supplyData.Type != core.NonFungibleESDTv2 {
shouldSkip := supplyData.Type != core.NonFungibleESDT && supplyData.Type != core.NonFungibleESDTv2 && supplyData.Type != core.DynamicNFTESDT
if shouldSkip {
continue
}

Expand Down

0 comments on commit 7a074be

Please sign in to comment.