coral-xyz / sealevel-attacks

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

Update lib.rs #6

Closed johnzhu0907 closed 2 years ago

johnzhu0907 commented 2 years ago

destination should be declared as mut in order to receiver lamports from account.