deserialize epoch_reward_status into BankFieldsToDeserialize (#31698)

This commit is contained in:
Jeff Washington (jwash) 2023-05-18 09:14:59 -05:00 committed by GitHub
parent 0291454876
commit 3ac5bb2a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ impl<'a> TypeContext<'a> for Context {
let epoch_accounts_hash = ignore_eof_error(deserialize_from(&mut stream))?;
bank_fields.epoch_accounts_hash = epoch_accounts_hash;
let _epoch_reward_status: EpochRewardStatus =
ignore_eof_error(deserialize_from(&mut stream))?;
let epoch_reward_status = ignore_eof_error(deserialize_from(&mut stream))?;
bank_fields.epoch_reward_status = epoch_reward_status;
Ok((bank_fields, accounts_db_fields))
}