Skip to content

Commit e843e74

Browse files
committed
shutter-service: fix typo
1 parent 94a4748 commit e843e74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/shutter-service/ShutterRegistry.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ contract ShutterRegistry is Ownable {
1515
// Custom error for when a provided timestamp is in the past.
1616
error TimestampInThePast();
1717

18-
struct RegsitrationData {
18+
struct RegistrationData {
1919
uint64 eon;
2020
uint64 timestamp;
2121
}
2222
/**
2323
* @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.
2525
*/
26-
mapping(bytes32 identity => RegsitrationData) public registrations;
26+
mapping(bytes32 identity => RegistrationData) public registrations;
2727

2828
/**
2929
* @dev Emitted when a new identity is successfully registered.
@@ -66,7 +66,7 @@ contract ShutterRegistry is Ownable {
6666
bytes32 identity = keccak256(
6767
abi.encodePacked(identityPrefix, msg.sender)
6868
);
69-
RegsitrationData storage registrationData = registrations[identity];
69+
RegistrationData storage registrationData = registrations[identity];
7070
// Ensure the identity is not already registered.
7171
require(registrationData.timestamp == 0, AlreadyRegistered());
7272

0 commit comments

Comments
 (0)