Skip to content

Commit

Permalink
reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
vbar committed Jan 6, 2025
1 parent f834295 commit 14c0f70
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions crates/rpc/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,10 @@ impl ApplicationError {
ApplicationError::InsufficientAccountBalance => None,
ApplicationError::ValidationFailure => None,
ApplicationError::CompilationFailed { data } => match version {
RpcVersion::V08 => {
Some(json!({
"data": data,
}))
}
_ => None
RpcVersion::V08 => Some(json!({
"data": data,
})),
_ => None,
},
ApplicationError::ContractClassSizeIsTooLarge => None,
ApplicationError::NonAccount => None,
Expand Down

0 comments on commit 14c0f70

Please sign in to comment.