coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
518 stars 99 forks source link

Add comments to 6-duplicate-mutable-accounts #44

Open techvoyagerX opened 2 months ago

techvoyagerX commented 2 months ago

Added comments to explain the differences in the insecure, recommended, and secure implementations of the 6-duplicate-mutable-accounts program. Comments focus on account validation and data updating.