Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fridrik01 committed May 8, 2024
1 parent 47e0f59 commit 0454d84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fendermint/vm/topdown/src/cache_store.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2022-2024 Protocol Labs
// SPDX-License-Identifier: Apache-2.0, MIT

use anyhow::{anyhow, Ok};
use fendermint_rocksdb::RocksDb;
use rocksdb::{BoundColumnFamily, IteratorMode, OptimisticTransactionDB};
Expand Down Expand Up @@ -130,8 +133,6 @@ impl CacheStore {
height: BlockHeight,
block: Option<ParentViewPayload>,
) -> anyhow::Result<()> {
tracing::info!("STORE appending block at height {}", height);

let expected_next_key = if let Some(upper) = self.upper_bound()? {
upper + 1
} else {
Expand Down

0 comments on commit 0454d84

Please sign in to comment.