Fix c/p error. We want a rent sysvar account here (#8559)
This commit is contained in:
@ -354,10 +354,7 @@ mod tests {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
fn create_default_rent_account() -> RefCell<Account> {
|
fn create_default_rent_account() -> RefCell<Account> {
|
||||||
RefCell::new(sysvar::recent_blockhashes::create_account_with_data(
|
RefCell::new(sysvar::rent::create_account(1, &Rent::free()))
|
||||||
1,
|
|
||||||
vec![(0u64, &Hash::default()); 32].into_iter(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Reference in New Issue
Block a user