Skip to content

Commit

Permalink
Update from bkontur running command 'fmt'
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 28, 2024
1 parent dd8fac7 commit 9e55e3c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bridges/modules/relayers/src/extension/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ where
};

// we only boost priority if relayer has staked required balance
if !RelayersPallet::<R, C::BridgeRelayersPalletInstance>::is_registration_active(&data.relayer) {
if !RelayersPallet::<R, C::BridgeRelayersPalletInstance>::is_registration_active(
&data.relayer,
) {
return Ok((Default::default(), Some(data), origin))
}

Expand Down Expand Up @@ -382,7 +384,11 @@ where
match call_result {
RelayerAccountAction::None => (),
RelayerAccountAction::Reward(relayer, reward_account, reward) => {
RelayersPallet::<R, C::BridgeRelayersPalletInstance>::register_relayer_reward(reward_account, &relayer, reward);
RelayersPallet::<R, C::BridgeRelayersPalletInstance>::register_relayer_reward(
reward_account,
&relayer,
reward,
);

log::trace!(
target: LOG_TARGET,
Expand Down

0 comments on commit 9e55e3c

Please sign in to comment.