Skip to content

Commit 1e5002b

Browse files
authored
chore: Bump toolchain version (#120)
1 parent d360379 commit 1e5002b

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

rust-toolchain.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[toolchain]
22
channel = "stable"
3-
versioned = "1.85.1"
4-
components = ["rustc", "cargo", "rustfmt", "clippy", "rust-docs", "llvm-tools", "rust-src"]
3+
versioned = "1.86.0"
4+
components = [
5+
"rustc",
6+
"cargo",
7+
"rustfmt",
8+
"clippy",
9+
"rust-docs",
10+
"llvm-tools",
11+
"rust-src",
12+
]

src/bootstrap/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,7 @@ where
224224
{
225225
tokio::select! {
226226
result = filter_service.filter_block(client, network, block, applicable_monitors) => {
227-
match result {
228-
Ok(matches) => Some(matches),
229-
Err(_) => {
230-
None
231-
}
232-
}
227+
result.ok()
233228
}
234229
_ = shutdown_rx.changed() => {
235230
tracing::info!("Shutting down block processing task");

0 commit comments

Comments
 (0)