Skip to content

Commit

Permalink
add unused variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 30, 2024
1 parent e092359 commit 5cb831b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ibc-testkit/src/hosts/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ impl TestHost for MockHost {

fn generate_block(
&self,
_: Vec<u8>,
_commitment_root: Vec<u8>,
height: u64,
timestamp: Timestamp,
_: &Self::BlockParams,
_params: &Self::BlockParams,
) -> Self::Block {
MockHeader {
height: Height::new(self.chain_id.revision_number(), height).expect("Never fails"),
Expand Down Expand Up @@ -73,7 +73,7 @@ impl TestBlock for MockHeader {
self.timestamp
}

fn into_header_with_trusted(self, _: &Self) -> Self::Header {
fn into_header_with_trusted(self, _trusted_block: &Self) -> Self::Header {
self
}
}
Expand Down

0 comments on commit 5cb831b

Please sign in to comment.