From 50fbe55be9b1868d8f6dc3f26ee4fc9366bba177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Fri, 18 Jun 2021 12:01:29 +0100 Subject: [PATCH] Missing imports --- common/client-libs/validator-client/src/lib.rs | 4 +++- common/client-libs/validator-client/src/models.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/client-libs/validator-client/src/lib.rs b/common/client-libs/validator-client/src/lib.rs index 7cb1394ac2..11ec497274 100644 --- a/common/client-libs/validator-client/src/lib.rs +++ b/common/client-libs/validator-client/src/lib.rs @@ -4,7 +4,9 @@ use crate::models::{QueryRequest, QueryResponse}; use crate::ValidatorClientError::ValidatorError; use core::fmt::{self, Display, Formatter}; -use mixnet_contract::{Addr, GatewayBond, IdentityKey, LayerDistribution, MixNodeBond, PagedGatewayResponse, PagedResponse}; +use mixnet_contract::{ + GatewayBond, IdentityKey, LayerDistribution, MixNodeBond, PagedGatewayResponse, PagedResponse, +}; use rand::seq::SliceRandom; use rand::thread_rng; use serde::Deserialize; diff --git a/common/client-libs/validator-client/src/models.rs b/common/client-libs/validator-client/src/models.rs index a0c992fcbd..c98c9963ab 100644 --- a/common/client-libs/validator-client/src/models.rs +++ b/common/client-libs/validator-client/src/models.rs @@ -3,7 +3,7 @@ use crate::serde_helpers::{de_i64_from_str, de_paged_query_response_from_str}; use core::fmt::{self, Display, Formatter}; -use mixnet_contract::Addr; +use mixnet_contract::IdentityKey; use serde::{Deserialize, Serialize}; // TODO: this is a duplicate code but it really does not feel