Skip to content

Commit

Permalink
noise: use proto2 for the protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Sep 19, 2022
1 parent 5ef3208 commit d840d92
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
44 changes: 22 additions & 22 deletions p2p/security/noise/pb/payload.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions p2p/security/noise/pb/payload.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto3";
syntax = "proto2";
package pb;

message NoiseHandshakePayload {
bytes identity_key = 1;
bytes identity_sig = 2;
bytes data = 3;
optional bytes identity_key = 1;
optional bytes identity_sig = 2;
optional bytes data = 3;
}

0 comments on commit d840d92

Please sign in to comment.