Skip to content

Commit

Permalink
refactor(wallet-metadata): new tx review metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Nov 8, 2024
1 parent 0af0f36 commit a1e00c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const formatMetadata = async (
const metadata674 = await generalTransactionMetadata?.get(await csl.BigNum.fromStr('674'))
if (metadata674) {
const decodedMetadata = await csl.decodeMetadatumToJsonStr(metadata674, MetadataJsonSchema.BasicConversions)
const msg = JSON.parse(decodedMetadata)?.msg ?? JSON.stringify({})
const msg = JSON.parse(decodedMetadata)?.msg ?? ''
metadata = {msg}
}

Expand Down

0 comments on commit a1e00c5

Please sign in to comment.