Skip to content

Commit

Permalink
Setting noise proto to use proto2
Browse files Browse the repository at this point in the history
This is the same format as used in  go-libp2p
  • Loading branch information
nloadholtes committed Oct 10, 2022
1 parent aba5ccb commit 75466a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions transports/noise/src/io/handshake/payload.proto
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
syntax = "proto3";
syntax = "proto2";

package payload.proto;

// Payloads for Noise handshake messages.

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 75466a5

Please sign in to comment.