pub fn transfer_lamports(
from: &AccountInfo<'_>,
to: &AccountInfo<'_>,
amount: u64,
) -> Result<()>Expand description
Safely transfer lamports from one account to another
pub fn transfer_lamports(
from: &AccountInfo<'_>,
to: &AccountInfo<'_>,
amount: u64,
) -> Result<()>Safely transfer lamports from one account to another