From e0a5abfd0bd0baccdfa47aeb899d8ba14c41e88f Mon Sep 17 00:00:00 2001 From: jeffgrunewald Date: Tue, 25 Apr 2023 10:42:03 -0400 Subject: [PATCH] update heartbeat invalid reason to new correct option --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- mobile_verifier/src/heartbeats.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5e195fb7c..3317e65a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1105,7 +1105,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "beacon" version = "0.1.0" -source = "git+https://github.com/helium/gateway-rs.git?branch=main#d862bc9962866e575d7c6dd731d65cf849a586ed" +source = "git+https://github.com/helium/gateway-rs.git?branch=jg/temp-update-heartbeat-invalid#0499e5c11c96165f93f87490b4e45eefce6f52a6" dependencies = [ "base64 0.21.0", "byteorder", @@ -2910,7 +2910,7 @@ dependencies = [ [[package]] name = "helium-proto" version = "0.1.0" -source = "git+https://github.com/helium/proto?branch=master#40388d260fd3603f453a965dbc13f79470b5adcb" +source = "git+https://github.com/helium/proto?branch=jg/update-heartbeat-invalid-error#d901919ed501c840d8df6a05c0214ee1a87db103" dependencies = [ "bytes", "prost", diff --git a/Cargo.toml b/Cargo.toml index 2903b2b46..69dc8fe45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,14 +58,14 @@ sqlx = {version = "0", features = [ ]} helium-crypto = {version = "0.6.8", features=["sqlx-postgres", "multisig"]} -helium-proto = {git = "https://github.com/helium/proto", branch = "master", features = ["services"]} +helium-proto = {git = "https://github.com/helium/proto", branch = "jg/update-heartbeat-invalid-error", features = ["services"]} hextree = "*" solana-client = "1.14" solana-sdk = "1.14" solana-program = "1.11" spl-token = "3.5.0" reqwest = {version = "0", default-features=false, features = ["gzip", "json", "rustls-tls"]} -beacon = {git = "https://github.com/helium/gateway-rs.git", branch = "main"} +beacon = {git = "https://github.com/helium/gateway-rs.git", branch = "jg/temp-update-heartbeat-invalid"} humantime = "2" metrics = "0" metrics-exporter-prometheus = "0" diff --git a/mobile_verifier/src/heartbeats.rs b/mobile_verifier/src/heartbeats.rs index 49fbc8ac2..439ab6fe2 100644 --- a/mobile_verifier/src/heartbeats.rs +++ b/mobile_verifier/src/heartbeats.rs @@ -180,7 +180,7 @@ impl Heartbeat { { proto::HeartbeatValidity::Valid } else { - proto::HeartbeatValidity::GatewayOwnerNotFound + proto::HeartbeatValidity::GatewayNotFound }; Ok(heartbeat) }