diff --git a/icx/src/main.rs b/icx/src/main.rs index 450ba721..d52be4dd 100644 --- a/icx/src/main.rs +++ b/icx/src/main.rs @@ -576,7 +576,7 @@ async fn main() -> Result<()> { serde_json::from_str::(&buffer) { fetch_root_key_from_non_ic(&agent, &opts.replica).await?; - let response = agent + let (response, _) = agent .request_status_signed( &signed_request_status.request_id, signed_request_status.effective_canister_id, diff --git a/ref-tests/tests/ic-ref.rs b/ref-tests/tests/ic-ref.rs index b0fb6975..fa005d7e 100644 --- a/ref-tests/tests/ic-ref.rs +++ b/ref-tests/tests/ic-ref.rs @@ -892,7 +892,7 @@ mod management_canister { fn subnet_metrics() { with_universal_canister(|agent, _| async move { let metrics = agent - .read_state_subnet_metrics(Principal::self_authenticating(&agent.read_root_key())) + .read_state_subnet_metrics(Principal::self_authenticating(agent.read_root_key())) .await?; assert!( metrics.num_canisters >= 1, diff --git a/ref-tests/tests/integration.rs b/ref-tests/tests/integration.rs index 9ce5b53f..2cb476ca 100644 --- a/ref-tests/tests/integration.rs +++ b/ref-tests/tests/integration.rs @@ -138,7 +138,7 @@ fn wait_signed() { let read_envelope_serialized = serialized_bytes(read_state_envelope); - let result = agent + let (result, _) = agent .wait_signed(&call_request_id, canister_id, read_envelope_serialized) .await .unwrap(); @@ -629,7 +629,7 @@ mod sign_send { let ten_secs = time::Duration::from_secs(10); thread::sleep(ten_secs); - let response = agent + let (response, _) = agent .request_status_signed( &signed_request_status.request_id, signed_request_status.effective_canister_id,