diff --git a/client/Cargo.toml b/client/Cargo.toml index fe8fe072..01e531c2 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -19,7 +19,7 @@ name = "dashcore_rpc" path = "src/lib.rs" [dependencies] -dashcore-rpc-json = { version = "0.16", path = "../json" } +dashcore-rpc-json = { version = "0.17", path = "../json" } log = "0.4.5" jsonrpc = "0.14.0" diff --git a/json/Cargo.toml b/json/Cargo.toml index 6ea04000..5bb46f2d 100644 --- a/json/Cargo.toml +++ b/json/Cargo.toml @@ -25,6 +25,6 @@ serde_with = "2.1.0" serde_repr = "0.1" hex = { version="0.4", features=["serde"]} -dashcore = { git="https://github.com/dashpay/rust-dashcore.git", features=["std", "secp-recovery", "rand-std", "signer", "serde"], default-features = false, tag = "v0.36.2" } +dashcore = { git="https://github.com/dashpay/rust-dashcore.git", features=["std", "secp-recovery", "rand-std", "signer", "serde"], default-features = false, tag = "v0.39.6" } bincode = { version = "2.0.0-rc.3", features = ["serde"] } diff --git a/json/src/lib.rs b/json/src/lib.rs index 5189315b..4634568b 100644 --- a/json/src/lib.rs +++ b/json/src/lib.rs @@ -540,7 +540,7 @@ pub struct GetRawTransactionResultVin { #[serde(default, with = "dashcore::amount::serde::as_btc::opt")] pub value: Option, #[serde(default)] - pub value_sat: Option, + pub value_sat: Option, pub addresses: Option>, pub sequence: u32, } @@ -579,7 +579,7 @@ pub struct GetRawTransactionResultVout { #[serde(with = "dashcore::amount::serde::as_btc")] pub value: Amount, #[serde(rename = "valueSat")] - pub value_sat: u32, + pub value_sat: u64, pub n: u32, #[serde(rename = "scriptPubKey")] pub script_pub_key: GetRawTransactionResultVoutScriptPubKey,