Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bug

The bug is in the withdraw function:

   **wallet_info.lamports.borrow_mut() -= amount;
   **destination_info.lamports.borrow_mut() += amount;

can overflow/underflow for large amount