coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
507 stars 95 forks source link

Add comments to account_data_matching programs #39

Open techvoyagerX opened 1 month ago

techvoyagerX commented 1 month ago

Added comments to the 1-account-data-matching programs (insecure, recommended, and secure versions). These comments clarify key parts of the code, such as ownership verification and potential security concerns.