diff --git a/Cargo.lock b/Cargo.lock index 7a072f3..b764c4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,7 +153,7 @@ checksum = "6742ec672d3f12506f4ac5c0d853926ff1f94e675f60ffd3224039972bf663f1" dependencies = [ "bech32", "bitcoin_hashes", - "secp256k1", + "secp256k1 0.20.3", ] [[package]] @@ -1321,7 +1321,7 @@ dependencies = [ "rocket", "rocket_sync_db_pools", "rocket_sync_db_pools_codegen", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_json", "sha2 0.8.2", @@ -1920,7 +1920,16 @@ version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97d03ceae636d0fed5bae6a7f4f664354c5f4fcedf6eef053fef17e49f837d0a" dependencies = [ - "secp256k1-sys", + "secp256k1-sys 0.4.1", +] + +[[package]] +name = "secp256k1" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "295642060261c80709ac034f52fca8e5a9fa2c7d341ded5cdb164b7c33768b2a" +dependencies = [ + "secp256k1-sys 0.5.2", ] [[package]] @@ -1932,6 +1941,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "152e20a0fd0519390fc43ab404663af8a0b794273d2a91d60ad4a39f13ffe110" +dependencies = [ + "cc", +] + [[package]] name = "secret-service" version = "1.1.3" @@ -2323,7 +2341,7 @@ dependencies = [ "rust_decimal", "rust_decimal_macros", "rustc-serialize", - "secp256k1", + "secp256k1 0.20.3", "serde", "serde_json", "subtle-encoding", diff --git a/Cargo.toml b/Cargo.toml index 2ef3b98..0783ca9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ chrono = { version = "0.4.19", features = ["serde"] } #terra-rust-api = {version= "1.0.10", git="https://github.com/PFC-Validator/terra-rust"} #terra-rust-api = {version= "1.0.12", path="../../terra-rust/terra-rust-api"} terra-rust-api="1.0.12" -secp256k1 = { version = "0.20.3", default-features = false } +secp256k1 = { version = "0.22.2", default-features = false } async-trait = "0.1.51" thread_local = "1.1.3" sha2 = "0.8.0"