Skip to content

Commit

Permalink
fix image type
Browse files Browse the repository at this point in the history
  • Loading branch information
XueMoMo committed Jan 19, 2024
1 parent 9b4fe1d commit bb4839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/blob-TX/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const BlobTX = () => {
const { commitments, proofs, versionHashs, encodeBlobs } = await getConvertOfZkg(blobs)
const [account] = await walletClient.getAddresses()

const blobsMeta = createMetaDataForBlobs(account, ['text/plain', 'image/png'])
const blobsMeta = createMetaDataForBlobs(account, ['text/plain', transData.imgType])
const blobsMetadataHex = stringToHex(JSON.stringify(blobsMeta))
const { result: nonce } = await fetch('https://rpc-devnet.ethda.io', {
method: 'POST',
Expand Down

0 comments on commit bb4839c

Please sign in to comment.