Skip to content

Commit 34be0ef

Browse files
vlad9486akoptelov
authored andcommitted
Make WithHashV1 fields public
1 parent 20d744c commit 34be0ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mina-p2p-messages/src/rpc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ mina_rpc!(
152152
// pub struct ConsensusDataConsensusStateValue;
153153
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, BinProtRead, BinProtWrite)]
154154
pub struct WithHashV1<A, H> {
155-
data: A,
156-
hash: H,
155+
pub data: A,
156+
pub hash: H,
157157
}
158158
pub type WithHashV1Versioned<A, H> = Versioned<WithHashV1<A, H>, 1>;
159159

0 commit comments

Comments
 (0)