We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ee5fd commit ebf676bCopy full SHA for ebf676b
stacks-node/src/burnchains/rpc/rpc_transport/mod.rs
@@ -35,7 +35,7 @@ mod tests;
35
36
/// The JSON-RPC protocol version used in all requests.
37
/// Latest specification is `2.0`
38
-const RCP_VERSION: &str = "2.0";
+const RPC_VERSION: &str = "2.0";
39
40
/// Represents a JSON-RPC request payload sent to the server.
41
#[derive(Serialize)]
@@ -190,7 +190,7 @@ impl RpcTransport {
190
params: Vec<Value>,
191
) -> RpcResult<T> {
192
let payload = JsonRpcRequest {
193
- jsonrpc: RCP_VERSION.to_string(),
+ jsonrpc: RPC_VERSION.to_string(),
194
id: id.to_string(),
195
method: method.to_string(),
196
params: Value::Array(params),
0 commit comments