From fc4dc9ff738def4db0b2da66cf94dddb3fedd2ba Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 18 Jan 2022 05:51:00 +0000 Subject: [PATCH] [ci] fix travis build Signed-off-by: Leo Chen --- api/proto/message/message.proto | 1 + api/service/legacysync/downloader/proto/downloader.proto | 1 + p2p/stream/protocols/sync/message/msg.proto | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/proto/message/message.proto b/api/proto/message/message.proto index 0368aca75..8bbf30f7c 100644 --- a/api/proto/message/message.proto +++ b/api/proto/message/message.proto @@ -1,5 +1,6 @@ syntax = "proto3"; package message; +option go_package="./;message"; // Client is the service used for any client-facing requests. diff --git a/api/service/legacysync/downloader/proto/downloader.proto b/api/service/legacysync/downloader/proto/downloader.proto index f75a1ab14..0706c0e81 100644 --- a/api/service/legacysync/downloader/proto/downloader.proto +++ b/api/service/legacysync/downloader/proto/downloader.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package downloader; +option go_package="./;downloader"; // Downloader is the service used for downloading/sycning blocks. service Downloader { diff --git a/p2p/stream/protocols/sync/message/msg.proto b/p2p/stream/protocols/sync/message/msg.proto index c55d64127..297df6085 100644 --- a/p2p/stream/protocols/sync/message/msg.proto +++ b/p2p/stream/protocols/sync/message/msg.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package harmony.stream.sync.message ; -option go_package = "message"; +option go_package = "./;message"; message Message { oneof req_or_resp {