diff --git a/Cargo.lock b/Cargo.lock index 3b5b318c..82b4c4d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1409,7 +1409,8 @@ dependencies = [ [[package]] name = "io-reactor" version = "0.1.0" -source = "git+https://github.com/rust-amplify/io-reactor?rev=9a2e787621c78987c866b13ff820bafce248ddc5#9a2e787621c78987c866b13ff820bafce248ddc5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790a9f1564a15864f28605fb0613dee98c8ebeee0ace7a5c76c2118f0e202f78" dependencies = [ "amplify", "crossbeam-channel", @@ -1653,7 +1654,7 @@ dependencies = [ [[package]] name = "netservices" version = "0.1.0" -source = "git+https://github.com/cyphernet-dao/rust-netservices#50944dfcf1593ca568b8a1c3ee4b44fc05deb8ca" +source = "git+https://github.com/cyphernet-dao/rust-netservices#ddc1fdfec6ce4ec7f94efb0efefc6cd79048686f" dependencies = [ "amplify", "cyphernet", diff --git a/Cargo.toml b/Cargo.toml index 9b68b583..35bbdccd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,11 +28,6 @@ inherits = "release" debug = true incremental = false -[patch.crates-io.io-reactor] -git = "https://github.com/rust-amplify/io-reactor" -rev = "9a2e787621c78987c866b13ff820bafce248ddc5" -version = "0.1.0" - [patch.crates-io.netservices] git = "https://github.com/cyphernet-dao/rust-netservices" version = "0.1.0" diff --git a/radicle-node/Cargo.toml b/radicle-node/Cargo.toml index cb73550f..0014fa64 100644 --- a/radicle-node/Cargo.toml +++ b/radicle-node/Cargo.toml @@ -24,7 +24,7 @@ log = { version = "0.4.17", features = ["std"] } localtime = { version = "1" } netservices = { version = "0", features = ["io-reactor", "socket2", "log"] } nonempty = { version = "0.8.1", features = ["serialize"] } -io-reactor = { version = "0", features = ["popol"] } +io-reactor = { version = "0.1.0", features = ["popol"] } qcheck = { version = "1", default-features = false, optional = true } sqlite = { version = "0.30.3" } sqlite3-src = { version = "0.4.0", features = ["bundled"] } # Ensures static linking diff --git a/radicle-node/src/wire/protocol.rs b/radicle-node/src/wire/protocol.rs index 3e1f0262..3b955dc0 100644 --- a/radicle-node/src/wire/protocol.rs +++ b/radicle-node/src/wire/protocol.rs @@ -362,7 +362,7 @@ where self.service.tick(LocalTime::from(SystemTime::now())); } - fn handle_wakeup(&mut self) { + fn handle_timer(&mut self) { self.service.wake() }