Skip to content

Commit feee4c6

Browse files
vlad9486akoptelov
authored andcommitted
Make ProofCarryingDataWithHashV1 fields public
1 parent 68abfb3 commit feee4c6

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
@@ -159,8 +159,8 @@ pub type WithHashV1Versioned<A, H> = Versioned<WithHashV1<A, H>, 1>;
159159

160160
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, BinProtRead, BinProtWrite)]
161161
pub struct ProofCarryingDataWithHashV1<A, B> {
162-
data: A,
163-
proof: B,
162+
pub data: A,
163+
pub proof: B,
164164
}
165165
pub type ProofCarryingDataWithHashV1Versioned<A, B> =
166166
Versioned<ProofCarryingDataWithHashV1<A, B>, 1>;

0 commit comments

Comments
 (0)