Fix c/p error. We want a rent sysvar account here (#8559)

This commit is contained in:
Trent Nelson
2020-03-03 09:49:02 -07:00
committed by GitHub
parent 08ab4b93ea
commit 0c76b89e55

View File

@ -354,10 +354,7 @@ mod tests {
))
}
fn create_default_rent_account() -> RefCell<Account> {
RefCell::new(sysvar::recent_blockhashes::create_account_with_data(
1,
vec![(0u64, &Hash::default()); 32].into_iter(),
))
RefCell::new(sysvar::rent::create_account(1, &Rent::free()))
}
#[test]