From 7d951e68fac9ddec6807cc01881aba7d7804d5be Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Tue, 30 Jul 2024 11:09:18 +0200 Subject: [PATCH] clippy --- base_layer/wallet/src/transaction_service/service.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base_layer/wallet/src/transaction_service/service.rs b/base_layer/wallet/src/transaction_service/service.rs index 2fa0bc74f4..d9f94893b5 100644 --- a/base_layer/wallet/src/transaction_service/service.rs +++ b/base_layer/wallet/src/transaction_service/service.rs @@ -30,7 +30,6 @@ use std::{ use chrono::{NaiveDateTime, Utc}; use digest::Digest; use futures::{pin_mut, stream::FuturesUnordered, Stream, StreamExt}; -use itertools::Itertools; use log::*; use rand::rngs::OsRng; use sha2::Sha256; @@ -3539,7 +3538,7 @@ where if address.network() != self.resources.interactive_tari_address.network() { return Err(TransactionServiceError::InvalidNetwork); } - if !address.features().contains(&sending_method) { + if !address.features().contains(sending_method) { return Err(TransactionServiceError::InvalidAddress(format!( "Address does not support feature {} ", sending_method