solana-labs/solana-program-library
[token-js] InitializeMint without FreezeAuthority breaks decodeInitializeMintInstruction
开放
#7,549 创建于 2024年12月3日
good first issue
仓库指标
- 星标
- (4,236 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Example tx: 2LQT3oZSoAyrzAC59wfMfbiZtF74YPcw5rQuaAmBu1FhuVe1f3CZoms8wKETJYVx8q9Bi8wT8v337iMDg4PJysF2
The problem is caused by exact span check here
Proposed solution: check if length of the data is equal to 35 (data with empty freeze authority) or 67 (freeze authority exists) bytes