From 48bbef7ade69bcfe86542f752f15049cc62f4141 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sat, 18 Feb 2023 13:37:48 -0500 Subject: [PATCH] Fixed missing property during transaction copy (#3793). --- src.ts/providers/provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/provider.ts b/src.ts/providers/provider.ts index c07d2a304..528a75b47 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 }`);