fixed beta clippy: lints + updated cosmwasm to 1.4
This commit is contained in:
+1
-1
@@ -135,7 +135,7 @@ pub(super) async fn annotate_nodes_with_details(
|
||||
compute_apy_from_reward(&mixnode, reward_estimate, current_interval);
|
||||
|
||||
let family = mix_to_family
|
||||
.get(&mixnode.bond_information.identity().to_string())
|
||||
.get(mixnode.bond_information.identity())
|
||||
.cloned();
|
||||
|
||||
annotated.push(MixNodeBondAnnotated {
|
||||
|
||||
@@ -21,7 +21,7 @@ use schemars::gen::SchemaGenerator;
|
||||
use schemars::schema::{InstanceType, Schema};
|
||||
use schemars::JsonSchema;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use thiserror::Error;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::node_status_api::{FIFTEEN_MINUTES, ONE_HOUR};
|
||||
use crate::storage::models::NodeStatus;
|
||||
use log::warn;
|
||||
use nym_mixnet_contract_common::MixId;
|
||||
use std::convert::TryInto;
|
||||
|
||||
use time::OffsetDateTime;
|
||||
|
||||
// A temporary helper structs used to produce reports for active nodes.
|
||||
|
||||
Reference in New Issue
Block a user