coral-xyz / sealevel-attacks

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

Add sysvar address checking example #3

Closed armaniferrante closed 2 years ago

anoushk1234 commented 2 years ago

@armaniferrante can i take this up?

You mean adding an example for doing this Sysvar<'info, Rent> right?

armaniferrante commented 2 years ago

Yes please!

anoushk1234 commented 2 years ago

Added it in #15 If there's any changes to be made let me know!