private AccountSharedData.rent_epoch (#16877)
This commit is contained in:
committed by
GitHub
parent
6381ee38eb
commit
da3342759b
@ -183,7 +183,7 @@ impl PreAccount {
|
||||
}
|
||||
|
||||
// No one modifies rent_epoch (yet).
|
||||
let rent_epoch_changed = pre.rent_epoch != post.rent_epoch;
|
||||
let rent_epoch_changed = pre.rent_epoch() != post.rent_epoch();
|
||||
if rent_epoch_changed {
|
||||
return Err(InstructionError::RentEpochModified);
|
||||
}
|
||||
|
Reference in New Issue
Block a user