solana-program-library icon indicating copy to clipboard operation
solana-program-library copied to clipboard

Update instruction.rs

Open SynergyCipher opened this issue 1 year ago • 1 comments

Handle potential serialization errors gracefully rather than using unwrap(), which could cause the program to panic at runtime.

SynergyCipher avatar May 05 '24 10:05 SynergyCipher

@SynergyCipher thanks for the contribution! However, the change you've added is still a panic.

buffalojoec avatar May 05 '24 21:05 buffalojoec