Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/crossmint/mint.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"metadata": map[string]interface{}{
"name": "CrossTrace Batch Receipt",
"image": "https://placehold.co/600x400.png", // required field
"description": fmt.Sprintf("Merkle root receipt for batch %s", rec.BatchID),
"description": fmt.Sprintf("Merkle root receipt for batch %s", rec.batchID),

Check failure on line 44 in internal/crossmint/mint.go

View workflow job for this annotation

GitHub Actions / test

rec.batchID undefined (cannot refer to unexported field batchID)
"attributes": []map[string]string{
{"trait_type": "merkle_root", "value": fmt.Sprintf("%x", rec.Root[:])},
{"trait_type": "batch_id", "value": rec.BatchID},
{"trait_type": "batch_id", "value": rec.batchID},

Check failure on line 47 in internal/crossmint/mint.go

View workflow job for this annotation

GitHub Actions / test

rec.batchID undefined (cannot refer to unexported field batchID)
{"trait_type": "count", "value": fmt.Sprintf("%d", rec.Count)},
{"trait_type": "solana_tx", "value": tx},
},
Expand Down
Loading