Skip to content

Commit ebf676b

Browse files
committed
crc: fix typo in RPC_VERSION const, #6250
1 parent 16ee5fd commit ebf676b

File tree

1 file changed

+2
-2
lines changed
  • stacks-node/src/burnchains/rpc/rpc_transport

1 file changed

+2
-2
lines changed

stacks-node/src/burnchains/rpc/rpc_transport/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ mod tests;
3535

3636
/// The JSON-RPC protocol version used in all requests.
3737
/// Latest specification is `2.0`
38-
const RCP_VERSION: &str = "2.0";
38+
const RPC_VERSION: &str = "2.0";
3939

4040
/// Represents a JSON-RPC request payload sent to the server.
4141
#[derive(Serialize)]
@@ -190,7 +190,7 @@ impl RpcTransport {
190190
params: Vec<Value>,
191191
) -> RpcResult<T> {
192192
let payload = JsonRpcRequest {
193-
jsonrpc: RCP_VERSION.to_string(),
193+
jsonrpc: RPC_VERSION.to_string(),
194194
id: id.to_string(),
195195
method: method.to_string(),
196196
params: Value::Array(params),

0 commit comments

Comments
 (0)