Skip to content

Commit

Permalink
Tweak ACL change latestValue
Browse files Browse the repository at this point in the history
...to make cert tests happy
  • Loading branch information
lauckhart committed Nov 24, 2024
1 parent 74ff494 commit ddf6584
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,11 @@ function* computeFabricAclChanges<T>(
adminNodeId,
adminPasscodeId,
changeType,
latestValue: newEntries[i] ?? null,
latestValue:
newEntries[i] ??
// Unclear why this field is nullable but cert tests fail unless this value is set to "current value
// or latest value before deletion"
oldEntries[i],
fabricIndex,
};
}
Expand Down

0 comments on commit ddf6584

Please sign in to comment.