diff --git a/contracts/on-chain-claim/src/contract.rs b/contracts/on-chain-claim/src/contract.rs index 1300cf9b..612ed555 100644 --- a/contracts/on-chain-claim/src/contract.rs +++ b/contracts/on-chain-claim/src/contract.rs @@ -40,7 +40,8 @@ pub trait OnChainClaimContract: let address_info_mapper = self.address_info(&caller); if address_info_mapper.is_empty() { let address_info = AddressInfo::new_with_epoch(current_epoch); - self.address_info(&caller).set(address_info); + self.address_info(&caller).set(&address_info); + self.new_claim_event(&caller, &address_info); return; }