Skip to content

Commit

Permalink
Update insertion order comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Dec 9, 2024
1 parent d859956 commit 88462b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const getChangedTemplate = (
return [JSON.stringify(objectTemplate(address, network), null, NUM_SPACES), [null, null]];
}

// object are now iterated in order, so when we add the new network here, it will
// object string keys are iterated in insertion order, so when we add the new network here, it will
// always appear last in the JSON representation.
const existingJsonCopy = JSON.parse(JSON.stringify(existingJson));
existingJsonCopy.drips[network] = {
Expand Down

0 comments on commit 88462b7

Please sign in to comment.