Skip to main content

existing_account

Function existing_account 

Source
pub fn existing_account(
    eip161: bool,
    account: Option<AccountInfo>,
) -> Option<AccountInfo>
Expand description

Returns account, which a database reports as an existing empty account when it does not hold it, as an execution applying EIP-161 or not loads it. Under EIP-161 an empty account does not exist, so it is loaded as absent.