fix comment (#17286)

This commit is contained in:
Jeff Washington (jwash) 2021-05-17 14:06:25 -05:00 committed by GitHub
parent d1db5448b9
commit 9d6837c904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ pub(crate) struct BankFieldsToDeserialize {
// Bank's common fields shared by all supported snapshot versions for serialization.
// This is separated from BankFieldsToDeserialize to avoid cloning by using refs.
// So, sync fields with BankFieldsToDeserialize!
// all members are made public to remain Bank private and to make versioned serializer workable on this
// all members are made public to keep Bank private and to make versioned serializer workable on this
#[derive(Debug)]
pub(crate) struct BankFieldsToSerialize<'a> {
pub(crate) blockhash_queue: &'a RwLock<BlockhashQueue>,

View File

@ -286,7 +286,7 @@ fn test_bank_serialize_newer() {
mod test_bank_serialize {
use super::*;
// These some what long test harness is required to freeze the ABI of
// This some what long test harness is required to freeze the ABI of
// Bank's serialization due to versioned nature
#[frozen_abi(digest = "DuRGntVwLGNAv5KooafUSpxk67BPAx2yC7Z8A9c8wr2G")]
#[derive(Serialize, AbiExample)]