From cd6253fb0fece6b18f925328c2ccbf54f62edbbc Mon Sep 17 00:00:00 2001 From: Etienne Dusseault Date: Thu, 3 Sep 2020 11:43:56 +0800 Subject: [PATCH] WalletConnect: fix WC not respecting gas limit (#1775) --- app/core/WalletConnect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/WalletConnect.js b/app/core/WalletConnect.js index 0f25b8918c8..00293bb2f13 100644 --- a/app/core/WalletConnect.js +++ b/app/core/WalletConnect.js @@ -94,7 +94,7 @@ class WalletConnect { txParams.to = payload.params[0].to; txParams.from = payload.params[0].from; txParams.value = payload.params[0].value; - txParams.gasLimit = payload.params[0].gasLimit; + txParams.gas = payload.params[0].gas; txParams.gasPrice = payload.params[0].gasPrice; txParams.data = payload.params[0].data; const hash = await (await TransactionController.addTransaction(