Skip to content

Commit

Permalink
remove event from refund
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Jan 21, 2025
1 parent 85b91f5 commit 1f8e54d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launchpad-guaranteed-tickets-v2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ pub trait LaunchpadGuaranteedTickets:

#[endpoint(refundUserTickets)]
fn refund_user_tickets(&self, users_list: MultiValueEncoded<ManagedAddress>) {
self.add_users_to_blacklist_endpoint(users_list);
let users_vec = users_list.to_vec();
self.add_users_to_blacklist(&users_vec);
self.clear_users_with_guaranteed_ticket_after_blacklist(&users_vec);
}

#[endpoint(addUsersToBlacklist)]
Expand Down

0 comments on commit 1f8e54d

Please sign in to comment.