Skip to content

Commit

Permalink
remove unused value from SerializeMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Oct 24, 2024
1 parent 7898bff commit fae3977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadence/contracts/utils/SerializeMetadata.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ access(all) contract SerializeMetadata {
// Serialize each trait as an attribute, building the serialized JSON compatible string
let parts: [String] = []
let traitsLength = traits.traits.length
for i, trait in traits.traits {
for trait in traits.traits {
let attribute = self.serializeNFTTraitAsAttribute(trait)
if attribute == nil {
continue
Expand Down

0 comments on commit fae3977

Please sign in to comment.