From b07e5e107b709285765673ed75f7eeb7787ad921 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 19 Dec 2016 21:04:19 +0100 Subject: [PATCH] Change from type to bytes from string The string should be always valid UTF-8 data: https://developers.google.com/protocol-buffers/docs/proto#scalar --- flooding/flooding.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flooding/flooding.proto b/flooding/flooding.proto index 5bd16b8..e09b40d 100644 --- a/flooding/flooding.proto +++ b/flooding/flooding.proto @@ -10,7 +10,7 @@ message RPC { } message Message { - optional string from = 1; + optional bytes from = 1; optional bytes data = 2; optional bytes seqno = 3; repeated string topicCIDs = 4; // CID of topic descriptor object