diff --git a/rebar.config b/rebar.config index 025a260f8..378b7f0f5 100644 --- a/rebar.config +++ b/rebar.config @@ -31,8 +31,7 @@ {inet_cidr, "1.1.0", {pkg, erl_cidr}}, {throttle, "0.3.0", {pkg, lambda_throttle}}, {e2qc, {git, "https://github.com/helium/e2qc.git", {branch, "master"}}}, - {helium_proto, - {git, "https://github.com/helium/proto.git", {branch, "macpie/gateway_location"}}} + {helium_proto, {git, "https://github.com/helium/proto.git", {branch, "master"}}} ]}. {plugins, [ diff --git a/rebar.lock b/rebar.lock index 94e477711..2e155556a 100644 --- a/rebar.lock +++ b/rebar.lock @@ -90,7 +90,7 @@ {<<"hackney">>,{pkg,<<"hackney">>,<<"1.18.1">>},0}, {<<"helium_proto">>, {git,"https://github.com/helium/proto.git", - {ref,"a46eb692695f9c3b91b81162b603d4f6a76e3300"}}, + {ref,"816d924df69cd5d37f21007712d0d88964549845"}}, 0}, {<<"hpack">>,{pkg,<<"hpack_erl">>,<<"0.2.3">>},2}, {<<"httpc_aws">>, diff --git a/src/grpc/router_ics_gateway_location_worker.erl b/src/grpc/router_ics_gateway_location_worker.erl index e5ac73e4a..925225750 100644 --- a/src/grpc/router_ics_gateway_location_worker.erl +++ b/src/grpc/router_ics_gateway_location_worker.erl @@ -192,8 +192,7 @@ connect(#state{host = Host, port = Port} = State) -> {ok, string()} | {error, any()}. get_gateway_location(PubKeyBin, #state{sig_fun = SigFun}) -> Req = #iot_config_gateway_location_req_v1_pb{ - gateway = PubKeyBin, - timestamp = erlang:system_time(millisecond) + gateway = PubKeyBin }, EncodedReq = iot_config_pb:encode_msg(Req, iot_config_gateway_location_req_v1_pb), SignedReq = Req#iot_config_gateway_location_req_v1_pb{signature = SigFun(EncodedReq)},