File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ contract ShutterRegistry is Ownable {
15
15
// Custom error for when a provided timestamp is in the past.
16
16
error TimestampInThePast ();
17
17
18
- struct RegsitrationData {
18
+ struct RegistrationData {
19
19
uint64 eon;
20
20
uint64 timestamp;
21
21
}
22
22
/**
23
23
* @dev Mapping to store registration data for each identity.
24
- * The identity is represented as a `bytes32` hash and mapped to struct RegsitrationData .
24
+ * The identity is represented as a `bytes32` hash and mapped to struct RegistrationData .
25
25
*/
26
- mapping (bytes32 identity = > RegsitrationData ) public registrations;
26
+ mapping (bytes32 identity = > RegistrationData ) public registrations;
27
27
28
28
/**
29
29
* @dev Emitted when a new identity is successfully registered.
@@ -66,7 +66,7 @@ contract ShutterRegistry is Ownable {
66
66
bytes32 identity = keccak256 (
67
67
abi.encodePacked (identityPrefix, msg .sender )
68
68
);
69
- RegsitrationData storage registrationData = registrations[identity];
69
+ RegistrationData storage registrationData = registrations[identity];
70
70
// Ensure the identity is not already registered.
71
71
require (registrationData.timestamp == 0 , AlreadyRegistered ());
72
72
You can’t perform that action at this time.
0 commit comments