Skip to content

Commit

Permalink
Add workaround for proto2 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Oct 4, 2022
1 parent 8bd44f2 commit 25c7fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/proto/payload.proto
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
syntax = "proto2";
syntax = "proto3";

message NoiseExtensions {
repeated bytes webtransport_certhashes = 1;
}

message NoiseHandshakePayload {
optional bytes identity_key = 1;
optional bytes identity_sig = 2;
optional NoiseExtensions extensions = 4;
bytes identity_key = 1;
bytes identity_sig = 2;
NoiseExtensions extensions = 4;
}

0 comments on commit 25c7fe4

Please sign in to comment.