From 5cb831b03ec1e736b3d5c8037ea97600ad8b91c6 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 30 Apr 2024 21:42:19 +0200 Subject: [PATCH] add unused variable names --- ibc-testkit/src/hosts/mock.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ibc-testkit/src/hosts/mock.rs b/ibc-testkit/src/hosts/mock.rs index 05363d457..266f69f53 100644 --- a/ibc-testkit/src/hosts/mock.rs +++ b/ibc-testkit/src/hosts/mock.rs @@ -42,10 +42,10 @@ impl TestHost for MockHost { fn generate_block( &self, - _: Vec, + _commitment_root: Vec, height: u64, timestamp: Timestamp, - _: &Self::BlockParams, + _params: &Self::BlockParams, ) -> Self::Block { MockHeader { height: Height::new(self.chain_id.revision_number(), height).expect("Never fails"), @@ -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 } }