Skip to content

Commit

Permalink
Update traits.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
scf0220 committed Jul 11, 2023
1 parent 3ae51e3 commit b605629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/std/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ impl<'a, C: CustomQuery> QuerierWrapper<'a, C> {
})?;
match self.raw_query(&raw) {
SystemResult::Err(system_err) => Err(StdError::generic_err(format!(
"Querier system error: {}",
system_err
"Querier system error: {system_err}"
))),
SystemResult::Ok(ContractResult::Err(contract_err)) => Err(StdError::generic_err(
format!("Querier contract error: {contract_err}"),
Expand Down

0 comments on commit b605629

Please sign in to comment.