Skip to content

Commit

Permalink
refactor: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Dec 9, 2024
1 parent 9613338 commit ab6f5c1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions state-chain/custom-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1678,17 +1678,12 @@ where
) {
self.new_subscription(
NotificationBehaviour::Finalized, /* only_finalized */
false, /* only_on_changes */
true, /* end_on_error */
false, /* only_on_changes */
true, /* end_on_error */
pending_sink,
move |client, hash| {
Ok(
(*client.runtime_api())
.cf_transaction_screening_events(hash)?
)
},
move |client, hash| Ok((*client.runtime_api()).cf_transaction_screening_events(hash)?),
)
.await;
.await;
}

async fn cf_subscribe_scheduled_swaps(
Expand Down

0 comments on commit ab6f5c1

Please sign in to comment.