Skip to content

Commit

Permalink
Update bridges/modules/xcm-bridge-hub-router/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco Aguirre <[email protected]>
  • Loading branch information
bkontur and franciscoaguirre authored Nov 14, 2024
1 parent bdb8c8a commit b8efb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/modules/xcm-bridge-hub-router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ pub mod pallet {
for (bridge_id, mut bridge_state) in Bridges::<T, I>::iter() {
weight_used.saturating_accrue(T::DbWeight::get().reads(1));

// if not congested anymore, we can start to decreasing fee factor
// If no longer congested, we can start decreasing the fee factor.
if !bridge_state.is_congested {
let previous_factor = bridge_state.delivery_fee_factor;
let new_factor = previous_factor / EXPONENTIAL_FEE_BASE;
Expand Down

0 comments on commit b8efb0b

Please sign in to comment.