diff --git a/src/interface/naming.cairo b/src/interface/naming.cairo index 170b443..80a4244 100644 --- a/src/interface/naming.cairo +++ b/src/interface/naming.cairo @@ -104,7 +104,7 @@ trait INaming { // admin fn set_admin(ref self: TContractState, new_admin: ContractAddress); - fn set_expiry(ref self: TContractState, root_domain: felt252, expiry: u64, metadata: felt252); + fn set_expiry(ref self: TContractState, root_domain: felt252, expiry: u64); fn claim_balance(ref self: TContractState, erc20: ContractAddress); diff --git a/src/naming/main.cairo b/src/naming/main.cairo index 7d66c14..23ea5b7 100644 --- a/src/naming/main.cairo +++ b/src/naming/main.cairo @@ -708,7 +708,7 @@ mod Naming { } fn set_expiry( - ref self: ContractState, root_domain: felt252, expiry: u64, metadata: felt252 + ref self: ContractState, root_domain: felt252, expiry: u64 ) { assert(get_caller_address() == self._admin_address.read(), 'you are not admin'); let hashed_domain = self.hash_domain(array![root_domain].span());