coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
518 stars 99 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.