tokio -> tokio-timer in consensus (#2460)

This commit is contained in:
Pierre Krieger
2019-05-03 16:00:47 +02:00
committed by Robert Habermeier
parent 52472238bd
commit 6921b2ce3d
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ error-chain = "0.12"
futures = "0.1"
runtime_version = { package = "sr-version", path = "../../sr-version" }
runtime_primitives = { package = "sr-primitives", path = "../../sr-primitives" }
tokio = "0.1.7"
tokio-timer = "0.2"
parity-codec = { version = "3.3", features = ["derive"] }
[dev-dependencies]
@@ -23,4 +23,4 @@ test_client = { package = "substrate-test-client", path = "../../test-client" }
[features]
default = []
test-helpers = []
test-helpers = []
+1 -1
View File
@@ -35,7 +35,7 @@ error_chain! {
}
/// Unable to schedule wakeup.
FaultyTimer(e: ::tokio::timer::Error) {
FaultyTimer(e: ::tokio_timer::Error) {
description("Timer error"),
display("Timer error: {}", e),
}