From 7b51060eefed29b27deedcd40ec49750cfeafdc7 Mon Sep 17 00:00:00 2001 From: jeffgrunewald Date: Sat, 26 Aug 2023 17:18:00 -0400 Subject: [PATCH] fix witness metadata on invalid reports --- Cargo.toml | 2 +- iot_verifier/src/poc.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 62b26a1e2..24189c672 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ members = [ "solana", "task_manager", ] +resolver = "2" [workspace.package] authors = ["Nova Labs "] @@ -58,7 +59,6 @@ sqlx = {version = "0", features = [ "macros", "runtime-tokio-rustls" ]} - helium-crypto = {version = "0.6.8", features=["sqlx-postgres", "multisig"]} helium-proto = {git = "https://github.com/helium/proto", branch = "master", features = ["services"]} hextree = "*" diff --git a/iot_verifier/src/poc.rs b/iot_verifier/src/poc.rs index 534568b1c..fd0e438f3 100644 --- a/iot_verifier/src/poc.rs +++ b/iot_verifier/src/poc.rs @@ -320,9 +320,9 @@ impl Poc { invalid_response.details, &witness_report.report, witness_report.received_timestamp, - Some(beaconer_metadata.location), - beaconer_metadata.gain, - beaconer_metadata.elevation, + Some(witness_metadata.location), + witness_metadata.gain, + witness_metadata.elevation, InvalidParticipantSide::Witness, )), }