Skip to content

Commit

Permalink
Remove build error
Browse files Browse the repository at this point in the history
  • Loading branch information
justinphamnz committed Feb 28, 2024
1 parent 2bfa275 commit d44448d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub mod pallet {
ensure!(BridgeFee::<T>::contains_key(&chain_id), Error::<T>::FeeOptionsMissing);
let (min_fee, fee_scale) = Self::bridge_fee(chain_id);

let fee_estimated = amount.saturating_mul(currency_id.1);
let fee_estimated = currency_id.1 * amount;
let fee = if fee_estimated > min_fee {
fee_estimated
} else {
Expand Down

0 comments on commit d44448d

Please sign in to comment.