Skip to content

Commit 7b1250a

Browse files
author
lukaw3d
committed
Fix order of parameters in getFeeAmount
1 parent 60c11b2 commit 7b1250a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/lib/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function getFeeAmount(gasPrice: bigint, feeGas: bigint): string {
113113

114114
const defaultDepositFeeAmount = '0'
115115
export const getDefaultFeeAmount = (isDepositing: boolean, paraTimeConfig: ParaTimeConfig): string => {
116-
return isDepositing ? defaultDepositFeeAmount : getFeeAmount(paraTimeConfig.feeGas, paraTimeConfig.gasPrice)
116+
return isDepositing ? defaultDepositFeeAmount : getFeeAmount(paraTimeConfig.gasPrice, paraTimeConfig.feeGas)
117117
}
118118

119119
export function parseConsensusToLayerBaseUnit(feeAmount: string, decimals: number): BigNumber {

0 commit comments

Comments
 (0)