Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone committed Nov 21, 2024
1 parent 9695aef commit 68b7f88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions blueprints/arbitrum-orbit/src/jobs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ pub struct FeeRecipientParams {
macro_rules! create_job {
($id:expr, $name:ident, $params_type:ty) => {
#[sdk::job(
id = $id,
params(params_bytes),
event_listener(
listener = TangleEventListener::<ServiceContext, JobCalled>,
pre_processor = services_pre_processor,
),
)]
id = $id,
params(params_bytes),
event_listener(
listener = TangleEventListener::<ServiceContext, JobCalled>,
pre_processor = services_pre_processor,
),
)]
pub fn $name(params_bytes: Vec<u8>, context: ServiceContext) -> Result<String, Infallible> {
let params: $params_type = serde_json::from_slice(&params_bytes).expect(&format!(
"Failed to deserialize {} params",
Expand Down

0 comments on commit 68b7f88

Please sign in to comment.