diff --git a/src.ts/providers/provider.ts b/src.ts/providers/provider.ts index c07d2a3049..528a75b477 100644 --- a/src.ts/providers/provider.ts +++ b/src.ts/providers/provider.ts @@ -166,7 +166,7 @@ export function copyRequest(req: TransactionRequest): PreparedTransactionRequest if (req.data) { result.data = hexlify(req.data); } - const bigIntKeys = "chainId,gasLimit,gasPrice,maxFeePerGas, maxPriorityFeePerGas,value".split(/,/); + const bigIntKeys = "chainId,gasLimit,gasPrice,maxFeePerGas,maxPriorityFeePerGas,value".split(/,/); for (const key of bigIntKeys) { if (!(key in req) || (req)[key] == null) { continue; } result[key] = getBigInt((req)[key], `request.${ key }`);