Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
yaziciahmet committed Dec 21, 2024
1 parent 50f0fa1 commit 87605de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bitcoin-da/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl DaVerifier for BitcoinVerifier {
&self,
previous_light_client_proof_output: &Option<LightClientCircuitOutput<Self::Spec>>,
block_header: &<Self::Spec as DaSpec>::BlockHeader,
_difficulty_constants: DaNetworkConstants<BitcoinNetwork>,
da_constants: DaNetworkConstants<BitcoinNetwork>,
) -> Result<UpdatedDaState<Self::Spec>, Self::Error> {
// Check 1: Verify block hash
if !block_header.verify_hash() {
Expand Down
2 changes: 1 addition & 1 deletion crates/sovereign-sdk/adapters/mock-da/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl DaVerifier for MockDaVerifier {
sov_rollup_interface::zk::LightClientCircuitOutput<Self::Spec>,
>,
block_header: &<Self::Spec as DaSpec>::BlockHeader,
_difficulty_constants: DaNetworkConstants<()>,
_da_constants: DaNetworkConstants<()>,
) -> Result<UpdatedDaState<Self::Spec>, Self::Error> {
let Some(previous_light_client_proof_output) = previous_light_client_proof_output else {
return Ok(UpdatedDaState {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ pub trait DaVerifier: Send + Sync {
&self,
previous_light_client_proof_output: &Option<LightClientCircuitOutput<Self::Spec>>,
block_header: &<Self::Spec as DaSpec>::BlockHeader,
difficulty_constants: DaNetworkConstants<<Self::Spec as DaSpec>::Network>,
da_constants: DaNetworkConstants<<Self::Spec as DaSpec>::Network>,
) -> Result<UpdatedDaState<Self::Spec>, Self::Error>;
}

Expand Down

0 comments on commit 87605de

Please sign in to comment.