Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jan 15, 2025
1 parent aa74eda commit 3f62756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/src/msgs/data_requests/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl QueryHandler for QueryMsg {
proof,
} => {
let dr = state::may_load_request(deps.storage, &Hash::from_hex_str(&dr_id)?)?;
let valid = dr.map_or(false, |dr| {
let valid = dr.is_some_and(|dr| {
let commit_msg = commit_result::Execute {
dr_id,
commitment,
Expand Down

0 comments on commit 3f62756

Please sign in to comment.