fix comment (#17286)
This commit is contained in:
committed by
GitHub
parent
d1db5448b9
commit
9d6837c904
@ -629,7 +629,7 @@ pub(crate) struct BankFieldsToDeserialize {
|
|||||||
// Bank's common fields shared by all supported snapshot versions for serialization.
|
// Bank's common fields shared by all supported snapshot versions for serialization.
|
||||||
// This is separated from BankFieldsToDeserialize to avoid cloning by using refs.
|
// This is separated from BankFieldsToDeserialize to avoid cloning by using refs.
|
||||||
// So, sync fields with BankFieldsToDeserialize!
|
// 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)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct BankFieldsToSerialize<'a> {
|
pub(crate) struct BankFieldsToSerialize<'a> {
|
||||||
pub(crate) blockhash_queue: &'a RwLock<BlockhashQueue>,
|
pub(crate) blockhash_queue: &'a RwLock<BlockhashQueue>,
|
||||||
|
@ -286,7 +286,7 @@ fn test_bank_serialize_newer() {
|
|||||||
mod test_bank_serialize {
|
mod test_bank_serialize {
|
||||||
use super::*;
|
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
|
// Bank's serialization due to versioned nature
|
||||||
#[frozen_abi(digest = "DuRGntVwLGNAv5KooafUSpxk67BPAx2yC7Z8A9c8wr2G")]
|
#[frozen_abi(digest = "DuRGntVwLGNAv5KooafUSpxk67BPAx2yC7Z8A9c8wr2G")]
|
||||||
#[derive(Serialize, AbiExample)]
|
#[derive(Serialize, AbiExample)]
|
||||||
|
Reference in New Issue
Block a user