Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed May 31, 2024
1 parent 243ce23 commit de4b3ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dispense_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl DispenseTracker {
}

pub fn has_tracked(&self, address: &Address) -> bool {
self.tracked.get(address).is_some()
self.tracked.contains_key(address)
}

pub fn is_in_progress(&self, address: &Address) -> bool {
Expand Down
2 changes: 1 addition & 1 deletion src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ pub async fn dispense_tokens(
.await?
};

let recipient_address: Address = address.into();
let recipient_address = address;
let faucet_address: Address = wallet.address().into();
let outputs = vec![
Output::coin(recipient_address, config.dispense_amount, base_asset_id),
Expand Down

0 comments on commit de4b3ed

Please sign in to comment.