solana_runtime::bank::test_utils

Function deposit

Source
pub fn deposit(
    bank: &Bank,
    pubkey: &Pubkey,
    lamports: u64,
) -> Result<u64, LamportsError>