Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JhChoy committed Jun 13, 2024
1 parent e8af741 commit 5d81bf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libraries/fee_policy.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ mod tests {
_calculate_fee((true, 1500), 1000, true, (true, 2));
}

fn _calculate_fee(rate: (bool, u32), amount: u256, reverse_rounding: bool, expected: (bool, u256)) {
fn _calculate_fee(
rate: (bool, u32), amount: u256, reverse_rounding: bool, expected: (bool, u256)
) {
let (s, r) = rate;
let fee_policy: FeePolicy = FeePolicy { uses_quote: true, sign: s, rate: r, };
let result = fee_policy.calculate_fee(amount, reverse_rounding);
Expand Down

0 comments on commit 5d81bf4

Please sign in to comment.