From 4f55eab57c593ee0cbc07ccf7ddcd0222f491c57 Mon Sep 17 00:00:00 2001 From: gaetbout Date: Thu, 6 Jun 2024 09:59:31 +0200 Subject: [PATCH] rename fn to get_latest_claim_class_hash --- src/contracts/gift_factory.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contracts/gift_factory.cairo b/src/contracts/gift_factory.cairo index 45755ab..7756003 100644 --- a/src/contracts/gift_factory.cairo +++ b/src/contracts/gift_factory.cairo @@ -174,7 +174,7 @@ mod GiftFactory { self.transfer_from_account(claim, claim_address, claim.token, balance, receiver); } - fn get_claim_class_hash(self: @ContractState) -> ClassHash { + fn get_latest_claim_class_hash(self: @ContractState) -> ClassHash { self.claim_class_hash.read() }