diff --git a/crates/rooch-da/src/actor/server.rs b/crates/rooch-da/src/actor/server.rs index ddc12e3645..ad5c2f5ded 100644 --- a/crates/rooch-da/src/actor/server.rs +++ b/crates/rooch-da/src/actor/server.rs @@ -132,7 +132,7 @@ impl DAServerActor { // (it's block number too for ChunkV0, which is the only version now) let future = stat.get_latest_done_chunk_id(); let result = future.await; // Resolve the future - let result = result.unwrap_or_else(|| 0); // for compatibility with old version which doesn't have this Optional field + let result = result.unwrap_or(0); // for compatibility with old version which doesn't have this Optional field avail_backends.push((identifier, result)); }