Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jan 16, 2025
1 parent aa74eda commit d7a5382
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lazy_static = "1.4"
libfuzzer-sys = "0.4"
rand = "0.8"
schemars = { version = "0.8", features = ["semver"] }
seda-common = { git = "https://github.com/sedaprotocol/seda-common-rs.git", branch = "refactor/distrubtion-payouts" }
seda-common = { git = "https://github.com/sedaprotocol/seda-common-rs.git", tag = "v0.4.2" }
# leaving this in to make local development easier
# seda-common = { path = "../seda-common-rs/crates/common" }
semver = { version = "1.0", features = ["serde"] }
Expand Down
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 d7a5382

Please sign in to comment.