Skip to content

Commit

Permalink
Upgrade proto
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Feb 27, 2023
1 parent 8840519 commit 54b65cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
Expand Down
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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">>,
Expand Down
3 changes: 1 addition & 2 deletions src/grpc/router_ics_gateway_location_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down

0 comments on commit 54b65cb

Please sign in to comment.