pub fn create_validator_storage_account(difs: u64) -> Account {
    let mut storage_account = Account::new(difs, 0, STORAGE_ACCOUNT_SPACE as usize, &crate::id());

    storage_account
        .set_state(&StorageContract::ValidatorStorage {
            slot: 0,
            hash: Hash::default(),
            lockout_validations: HashMap::new(),
            reward_validations: HashMap::new(),
        })
        .expect("set_state");

    storage_account
}
// utility function, used by Bank, tests, genesis
utility function, used by Bank, tests, genesis
utility function used by Bank tests genesis
pub fn create_validator_storage_account(difs: u64) -> Account {
    let mut storage_account = Account::new(difs, 0, STORAGE_ACCOUNT_SPACE as usize, &crate::id());
    storage_account
        .set_state(&StorageContract::ValidatorStorage {
            slot: 0,
            hash: Hash::default(),
            lockout_validations: HashMap::new(),
            reward_validations: HashMap::new(),
        })
        .expect("set_state");
    storage_account
}
pub fn create_validator_storage_account ( difs : u64 ) -> Account { let mut storage_account = Account :: new ( difs , 0 , STORAGE_ACCOUNT_SPACE as usize , & crate :: id ( ) ) ; storage_account . set_state ( & StorageContract :: ValidatorStorage { slot : 0 , hash : Hash :: default ( ) , lockout_validations : HashMap :: new ( ) , reward_validations : HashMap :: new ( ) , } ) . expect ( " " ) ; storage_account }
utility function, used by Bank, tests, genesis
utility function used by Bank tests genesis
difs
u64
difs
u64