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
serum-ts/packages/borsh/src/index.ts
Line 112 in b7e821e
https://github.com/solana-labs/solana-program-library/blob/6eac7bc33122412a6ab7fa8b84869ca040d3c1cc/token/js/client/token.js#L129
export const MintLayout: typeof BufferLayout.Structure = BufferLayout.struct([ BufferLayout.u32('mintAuthorityOption'), Layout.publicKey('mintAuthority'), Layout.uint64('supply'), BufferLayout.u8('decimals'), BufferLayout.u8('isInitialized'), BufferLayout.u32('freezeAuthorityOption'), Layout.publicKey('freezeAuthority'), ]);
The text was updated successfully, but these errors were encountered:
The options used there are a COptions not Rust Options. See https://github.com/solana-labs/solana-program-library/blob/47d31cc6f2cf74ba05550e7d2dfdeb035df3ce0c/token/program/src/state.rs#L28.
COption
Option
Closing.
Sorry, something went wrong.
No branches or pull requests
serum-ts/packages/borsh/src/index.ts
Line 112 in b7e821e
https://github.com/solana-labs/solana-program-library/blob/6eac7bc33122412a6ab7fa8b84869ca040d3c1cc/token/js/client/token.js#L129
The text was updated successfully, but these errors were encountered: