Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jul 30, 2024
1 parent d5fdf1d commit 7d951e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base_layer/wallet/src/transaction_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7d951e6

Please sign in to comment.