build(deps): bump `jsonrpc` from 0.16.0 to 0.17.0 (#8139)
* bump jsonrpc minor version * update use of jsonrpc
This commit is contained in:
parent
01ddd87cb4
commit
704f88eb41
|
@ -2194,9 +2194,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "jsonrpc"
|
name = "jsonrpc"
|
||||||
version = "0.16.0"
|
version = "0.17.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "34efde8d2422fb79ed56db1d3aea8fa5b583351d15a26770cdee2f88813dd702"
|
checksum = "a26d9104d516092f092d97448787505881fdb6518293b2d6500bf9c180c839dd"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -105,7 +105,7 @@ reqwest = { version = "0.11.23", default-features = false, features = ["rustls-t
|
||||||
# These crates are needed for the zebra-checkpoints and search-issue-refs binaries
|
# These crates are needed for the zebra-checkpoints and search-issue-refs binaries
|
||||||
tokio = { version = "1.35.1", features = ["full"], optional = true }
|
tokio = { version = "1.35.1", features = ["full"], optional = true }
|
||||||
|
|
||||||
jsonrpc = { version = "0.16.0", optional = true }
|
jsonrpc = { version = "0.17.0", optional = true }
|
||||||
|
|
||||||
zcash_primitives = { version = "0.13.0-rc.1", optional = true }
|
zcash_primitives = { version = "0.13.0-rc.1", optional = true }
|
||||||
zcash_client_backend = {version = "0.10.0-rc.1", optional = true}
|
zcash_client_backend = {version = "0.10.0-rc.1", optional = true}
|
||||||
|
|
|
@ -106,8 +106,8 @@ fn get_tx_via_rpc(txid: String) -> String {
|
||||||
.expect("URL should be valid")
|
.expect("URL should be valid")
|
||||||
.build();
|
.build();
|
||||||
let client = Client::with_transport(transport);
|
let client = Client::with_transport(transport);
|
||||||
let params = [RawValue::from_string(txid).expect("Provided TXID should be a valid JSON")];
|
let params = RawValue::from_string(txid).expect("Provided TXID should be a valid JSON");
|
||||||
let request = client.build_request("getrawtransaction", ¶ms);
|
let request = client.build_request("getrawtransaction", Some(¶ms));
|
||||||
let response = client
|
let response = client
|
||||||
.send_request(request)
|
.send_request(request)
|
||||||
.expect("Sending the `getrawtransaction` request should succeed");
|
.expect("Sending the `getrawtransaction` request should succeed");
|
||||||
|
|
Loading…
Reference in New Issue