Skip to content

Commit 2375a06

Browse files
authored
Fix warning (#2022)
1 parent 45f8513 commit 2375a06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

relayer/src/chain/cosmos/account.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,10 @@ impl fmt::Display for AccountSequence {
7373

7474
/// Uses the GRPC client to retrieve the account sequence
7575
pub async fn query_account(chain: &CosmosSdkChain, address: String) -> Result<BaseAccount, Error> {
76-
use crate::chain::ChainEndpoint;
7776
use ibc_proto::cosmos::auth::v1beta1::query_client::QueryClient;
7877
use ibc_proto::cosmos::auth::v1beta1::{EthAccount, QueryAccountRequest};
7978

80-
crate::telemetry!(query, chain.id(), "query_account");
79+
crate::telemetry!(query, &chain.config.id, "query_account");
8180

8281
let mut client = QueryClient::connect(chain.grpc_addr.clone())
8382
.await

0 commit comments

Comments
 (0)