Skip to content

Commit

Permalink
keep RpcSocketPayload private
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Sep 18, 2024
1 parent 0d3f340 commit 1294ab2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/net/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ pub(crate) struct RpcPayload {
/// for authentication and validation, facilitating secure and validated interactions with the Quicknode service.
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
pub(crate) struct RpcSocketPayload {
pub(crate) method: String,
pub(crate) params: serde_json::Value,
pub(crate) id: Id,
pub(crate) jsonrpc: String,
pub(crate) proxy_sign: ProxySign,
method: String,
params: serde_json::Value,
id: Id,
jsonrpc: String,
proxy_sign: ProxySign,
}

impl RpcSocketPayload {
Expand Down

0 comments on commit 1294ab2

Please sign in to comment.