Skip to content

Commit 3ce9531

Browse files
authored
Fix Typographical Errors in SHA384.sol and RegistrationSimple.test.ts (#33)
* Update RegistrationSimple.test.ts * Update SHA384.sol
1 parent 5af30a1 commit 3ce9531

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/utils/SHA384.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ library LibBytes {
318318
let first := mload(source)
319319

320320
// Copy whole words back to front
321-
// We use a signed comparisson here to allow dEnd to become
321+
// We use a signed comparison here to allow dEnd to become
322322
// negative (happens when source and dest < 32). Valid
323323
// addresses in local memory will never be larger than
324324
// 2**255, so they can be safely re-interpreted as signed.

test/registration/RegistrationSimple.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ describe("RegistrationSimple", () => {
263263
);
264264
});
265265

266-
it("should revert if non-exising operation ID was provided", async () => {
266+
it("should revert if non-existing operation ID was provided", async () => {
267267
const encoder = new ethers.AbiCoder();
268268
const data = encoder.encode(["address[]", "uint8[]"], [[FIRST.address], [12 as RegistrationSimpleOperationId]]);
269269

0 commit comments

Comments
 (0)