Skip to content

Commit

Permalink
cargo fmt nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
cuteolaf committed Apr 17, 2024
1 parent db703de commit 74dcd9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/regionx/src/ismp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl IsmpModule for ProxyModule {

#[allow(clippy::match_single_binding)]
match pallet_id {
pallet_regions::PALLET_ID =>
pallet_regions::PALLET_ID =>
pallet_regions::IsmpModuleCallback::<Runtime>::default().on_response(response),
_ => Err(Error::ImplementationSpecific("Destination module not found".to_string())),
}
Expand All @@ -103,7 +103,7 @@ impl IsmpModule for ProxyModule {

#[allow(clippy::match_single_binding)]
match pallet_id {
pallet_regions::PALLET_ID =>
pallet_regions::PALLET_ID =>
pallet_regions::IsmpModuleCallback::<Runtime>::default().on_timeout(timeout),
// instead of returning an error, do nothing. The timeout is for a connected chain.
_ => Ok(()),
Expand Down

0 comments on commit 74dcd9e

Please sign in to comment.