Skip to content

Commit

Permalink
fix: typo (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjl10 authored Dec 23, 2024
1 parent 8cd2978 commit d3cabf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opstack/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub struct ConsensusClient {
impl ConsensusClient {
pub fn new(config: &Config) -> Self {
let (block_send, block_recv) = channel(256);
let (finalized_block_send, finalied_block_recv) = watch::channel(None);
let (finalized_block_send, finalized_block_recv) = watch::channel(None);

let mut inner = Inner {
server_url: config.consensus_rpc.to_string(),
Expand Down Expand Up @@ -74,7 +74,7 @@ impl ConsensusClient {

Self {
block_recv: Some(block_recv),
finalized_block_recv: Some(finalied_block_recv),
finalized_block_recv: Some(finalized_block_recv),
chain_id: config.chain.chain_id,
}
}
Expand Down

0 comments on commit d3cabf2

Please sign in to comment.