Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Jul 10, 2024
1 parent 04988c0 commit abd4022
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpc-state-reader/src/blockifier_state_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ pub fn build_cached_state(network: &str, block_number: u64) -> CachedState<RpcSt
let block_number = BlockNumber(block_number);
let rpc_chain = parse_network(network);
let rpc_reader = RpcStateReader(
RpcState::new_rpc(rpc_chain, block_number.into())
.expect("failed to create state reader"),
RpcState::new_rpc(rpc_chain, block_number.into()).expect("failed to create state reader"),
);
CachedState::new(rpc_reader)
}
Expand Down

0 comments on commit abd4022

Please sign in to comment.