From 2e164d3c4349a26d19c804fdce35c3844f2619a2 Mon Sep 17 00:00:00 2001 From: nikhil kumar Date: Tue, 6 May 2025 11:58:45 +0530 Subject: [PATCH] fix: maxFeePerGas field --- backend/src/utils/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/utils/common.ts b/backend/src/utils/common.ts index 8231d22..49de690 100644 --- a/backend/src/utils/common.ts +++ b/backend/src/utils/common.ts @@ -58,7 +58,7 @@ export async function getSkandhaGasFee(rpcUrl: string, log?: FastifyBaseLogger): const data = (await feeData.json()).result; if(data?.maxFeePerGas && data?.maxPriorityFeePerGas) { return { - maxFeePerGas: BigNumber.from(data.maxPriorityFeePerGas), + maxFeePerGas: BigNumber.from(data.maxFeePerGas), maxPriorityFeePerGas: BigNumber.from(data.maxPriorityFeePerGas), gasPrice: BigNumber.from(data.maxFeePerGas) }