Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 3ac5bb2

Browse files
deserialize epoch_reward_status into BankFieldsToDeserialize (#31698)
1 parent 0291454 commit 3ac5bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/src/serde_snapshot/newer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ impl<'a> TypeContext<'a> for Context {
345345
let epoch_accounts_hash = ignore_eof_error(deserialize_from(&mut stream))?;
346346
bank_fields.epoch_accounts_hash = epoch_accounts_hash;
347347

348-
let _epoch_reward_status: EpochRewardStatus =
349-
ignore_eof_error(deserialize_from(&mut stream))?;
348+
let epoch_reward_status = ignore_eof_error(deserialize_from(&mut stream))?;
349+
bank_fields.epoch_reward_status = epoch_reward_status;
350350

351351
Ok((bank_fields, accounts_db_fields))
352352
}

0 commit comments

Comments
 (0)