Skip to content

Commit 5aadfd0

Browse files
committed
test: fix iterator in evonode test
1 parent 54c8fc4 commit 5aadfd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/rs-sdk/tests/fetch/evonode.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use dash_sdk::platform::{types::evonode::EvoNode, FetchUnproved};
55
use dpp::dashcore::{hashes::Hash, ProTxHash};
66
use drive_proof_verifier::types::EvoNodeStatus;
77
use http::Uri;
8+
use std::ops::Deref;
89
use std::time::Duration;
910
/// Given some existing evonode URIs, WHEN we connect to them, THEN we get status.
1011
use tokio::time::timeout;
@@ -18,7 +19,8 @@ async fn test_evonode_status() {
1819

1920
let addresses = cfg.address_list();
2021

21-
for address in addresses {
22+
for address in addresses.iter() {
23+
let address = address.deref();
2224
let node = EvoNode::new(address.clone());
2325
match timeout(
2426
Duration::from_secs(3),

0 commit comments

Comments
 (0)