Skip to content

Commit

Permalink
fix: update isValidERC721Log func
Browse files Browse the repository at this point in the history
  • Loading branch information
Monika-Bitfly committed Feb 11, 2025
1 parent a6a22f9 commit bacbe86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/executionlayer/transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func isValidERC20Log(log *types.Eth1Log) bool {
}

func isValidERC721Log(log *types.Eth1Log) bool {
return len(log.GetTopics()) == 4 || bytes.Equal(log.GetTopics()[0], erc721.TransferTopic.Bytes())
return len(log.GetTopics()) == 4 && bytes.Equal(log.GetTopics()[0], erc721.TransferTopic.Bytes())
}

func isValidERC1155Log(log *types.Eth1Log) bool {
Expand Down

0 comments on commit bacbe86

Please sign in to comment.