Skip to content

Commit

Permalink
switch to a oneof
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Aug 17, 2023
1 parent b62db44 commit b8160d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/service/poc_lora.proto
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ message lora_invalid_beacon_report_v1 {
int32 elevation = 6;
// provides any additional context for invalid reason
// for example the deny list version used as part of the deny list check
string invalid_details = 7;
oneof invalid_details { string denied = 7; }
}

// tagged invalid witness report produced by the verifier
Expand All @@ -176,7 +176,7 @@ message lora_invalid_witness_report_v1 {
invalid_participant_side participant_side = 4;
// provides any additional context for invalid reason
// for example the deny list version used as part of the deny list check
string invalid_details = 5;
oneof invalid_details { string denied = 5; }
}

// tagged verified witness report produced by the verifier
Expand Down Expand Up @@ -204,7 +204,7 @@ message lora_verified_witness_report_v1 {
int32 elevation = 10;
// provides any additional context for invalid reason
// for example the deny list version used as part of the deny list check
string invalid_details = 11;
oneof invalid_details { string denied = 11; }
}

// POC report produced by the verifier
Expand Down

0 comments on commit b8160d4

Please sign in to comment.