Adjust owner hashing activation slot (#10243)

automerge
This commit is contained in:
Ryo Onodera
2020-05-26 17:21:22 +09:00
committed by GitHub
parent f51b214449
commit e8c6233c6e

View File

@ -1331,8 +1331,10 @@ impl AccountsDB {
}
pub fn include_owner_in_hash(slot: Slot) -> bool {
// Account hashing updated to include owner activates at this slot on the testnet/mainnet-beta
slot >= 11_000_000
// Account hashing updated to include owner activates at this slot on the mainnet-beta.
// For testnet, it fully transitioned already thanks to eager rent collection,
// so, this check is irrelevant, strictly speaking.
slot >= 12_500_000
}
pub fn hash_account_data(