Skip to content

Commit

Permalink
evil clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-rebegea committed Oct 18, 2024
1 parent 7ee5f92 commit 53774a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/faucet/src/faucet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub trait Faucet {
fn claim(&self, signature: &Signature<Self::Api>) {
let caller = self.blockchain().get_caller();
let claimers_mapper = self.claimers();
require!(claimers_mapper.contains(&caller) == false, "Caller already claimed");
require!(!claimers_mapper.contains(&caller), "Caller already claimed");

self.verify_signature(&caller, signature);
self.claimers().add(&caller);
Expand Down

0 comments on commit 53774a6

Please sign in to comment.