Skip to content

Commit

Permalink
Correct RPC method names
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-casper committed Apr 12, 2024
1 parent 016a0f2 commit 2c6ffa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc_sidecar/src/rpcs/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ pub enum BalanceStateIdentifier {
},
}

/// Params for "query_balance" RPC request.
/// Params for "query_balance_details" RPC request.
#[derive(Serialize, Deserialize, Debug, JsonSchema)]
pub struct QueryBalanceDetailsParams {
/// The identifier for the state used for the query, if none is passed,
Expand All @@ -1001,7 +1001,7 @@ impl DocExample for QueryBalanceDetailsParams {
}
}

/// Result for "query_balance" RPC response.
/// Result for "query_balance_details" RPC response.
#[derive(PartialEq, Eq, Serialize, Deserialize, Debug, JsonSchema)]
pub struct QueryBalanceDetailsResult {
/// The RPC API version.
Expand Down

0 comments on commit 2c6ffa2

Please sign in to comment.