Skip to content

Commit

Permalink
fix: update trezor mapper to use new cml api for asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
mkazlauskas committed Aug 28, 2024
1 parent 152f918 commit 7720b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export const txToTrezor = async (tx, network, keys, address, index) => {
const assetName = assets.keys().get(k);
const amount = assets.get(assetName);
tokens.push({
assetNameBytes: Buffer.from(assetName.name()).toString('hex'),
assetNameBytes: assetName.to_hex(),
mintAmount: amount.toString(),
});
}
Expand Down

0 comments on commit 7720b32

Please sign in to comment.