Skip to content

Commit

Permalink
Fix mistake in TAGs when no upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Jul 13, 2023
1 parent 804f25a commit b322e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/federated/RTI/rti_local.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ tag_t rti_next_event_tag_locked(enclave_info_t* e, tag_t next_event_tag) {

// If this enclave has no upstream, then we give a TAG till forever straight away.
if (e->base.num_upstream == 0) {
LF_PRINT_LOG("RTI: enclave %u has no upstream. Giving it a TAG till FOREVER", e->base.id);
e->base.last_granted = FOREVER_TAG;
LF_PRINT_LOG("RTI: enclave %u has no upstream. Giving it a to the NET", e->base.id);
e->base.last_granted = next_event_tag;
}

while(true) {
Expand Down

0 comments on commit b322e0b

Please sign in to comment.