Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamWuGit committed May 29, 2024
1 parent 705622c commit 7f115d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ impl<F: Field> TxL1FeeGadget<F> {
tx_signed_length
);
let (tx_l1_fee, remainder) = if cfg!(feature = "l1_fee_curie") {
l1_fee.tx_l1_fee(tx_data_gas_cost, 0)
} else {
l1_fee.tx_l1_fee(0, tx_signed_length)
} else {
l1_fee.tx_l1_fee(tx_data_gas_cost, 0)
};

self.tx_l1_fee_word
Expand Down

0 comments on commit 7f115d6

Please sign in to comment.