We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug {"Specified argument was out of the range of valid values. (Parameter 'offset')"} exception in ParseData.
ParseData
Reproduce Create nft without creators but with primarySaleHappened.
creators
primarySaleHappened
Why (binData.GetU16(MetadataAccountLayout.creatorsOffset) gives 256
(binData.GetU16(MetadataAccountLayout.creatorsOffset)
256
MetadataAccountLayout
321
322
Also, next fields missing
P.S. Current used manual deserializing is so bad, better use schema (like here), possible also code generator.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
{"Specified argument was out of the range of valid values. (Parameter 'offset')"} exception in
ParseData
.Reproduce
Create nft without
creators
but withprimarySaleHappened
.Why
(binData.GetU16(MetadataAccountLayout.creatorsOffset)
gives256
MetadataAccountLayout
creatorsOffset must be321
, not322
creators
is optional field.Also, next fields missing
P.S.
Current used manual deserializing is so bad, better use schema (like here), possible also code generator.
The text was updated successfully, but these errors were encountered: