From 2fd4325e705dc3ebd89d101c39489effce72972b Mon Sep 17 00:00:00 2001 From: rllola Date: Sat, 22 Jun 2024 13:39:59 +0200 Subject: [PATCH] fix tests --- Cargo.toml | 6 +++--- tests/integration_test.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 064560a..4c86453 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,14 +22,14 @@ ledger-zondax-generic = "0.9.1" thiserror = "1.0.30" byteorder = "1.4.3" -k256 = { version = "^0.11", features = ["ecdsa-core", "arithmetic", "std"], default-features = false } +k256 = { version = "^0.13", features = ["ecdsa-core", "arithmetic", "std"], default-features = false } [dev-dependencies] hex = "0.4.3" once_cell = "1.10.0" blake2 = "0.10.4" -k256 = "^0.11" -ecdsa = { version = "0.13.4", features = ["verify"] } +k256 = "^0.13" +ecdsa = { version = "0.16.9", features = ["verifying"] } tokio = { version = "1", features = ["full"] } ledger-transport-hid = "0.9.0" diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 4df4bda..5ea84ec 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -22,7 +22,7 @@ extern crate ledger_filecoin; use blake2::{digest::typenum, Blake2b, Digest}; -use ecdsa::{signature::Verifier, VerifyingKey}; +use ecdsa::{VerifyingKey, signature::Verifier}; use k256::{elliptic_curve::sec1::ToEncodedPoint, Secp256k1}; use ledger_filecoin::{BIP44Path, FilError, FilecoinApp, LedgerAppError};