Skip to content

Commit

Permalink
chore: fix lint issue (#3233)
Browse files Browse the repository at this point in the history
  • Loading branch information
popcnt1 authored Jan 26, 2025
1 parent b5a0d16 commit 5d5fa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rooch-da/src/actor/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 5d5fa15

Please sign in to comment.