diff --git a/proto/valorem/trade/v1/auth.proto b/proto/valorem/trade/v1/auth.proto index 8b9bbbe..3e4aa69 100644 --- a/proto/valorem/trade/v1/auth.proto +++ b/proto/valorem/trade/v1/auth.proto @@ -1,6 +1,7 @@ syntax = "proto3"; import "types.proto"; +import "google/protobuf/wrappers.proto"; package valorem.trade.v1; @@ -18,7 +19,7 @@ service Auth { rpc Authenticate (Empty) returns (H160); // Used to check if a given connection is geofenced. If access is restricted, returns true, otherwise false. - rpc Geofenced (Empty) returns (BoolResponse); + rpc Geofenced (Empty) returns (google.protobuf.BoolValue); // Returns the SIWE Session for the request's sessionId rpc Session (Empty) returns (SiweSession); diff --git a/proto/valorem/trade/v1/types.proto b/proto/valorem/trade/v1/types.proto index 96380f3..86b702c 100644 --- a/proto/valorem/trade/v1/types.proto +++ b/proto/valorem/trade/v1/types.proto @@ -41,10 +41,5 @@ message EthSignature { bytes v = 3; } -// BoolResponse message contains a single field of type bool. -message BoolResponse { - bool value = 1; -} - // The empty message message Empty {} \ No newline at end of file