Function safecoin_client::nonblocking::nonce_utils::account_identity_ok
source · pub fn account_identity_ok<T: ReadableAccount>(account: &T) -> Result<(), Error>
Expand description
Perform basic checks that an account has nonce-like properties.
Errors
Returns Error::InvalidAccountOwner
if the account is not owned by the
system program. Returns Error::UnexpectedDataSize
if the account
contains no data.