aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/transaction-manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/transaction-manager.js')
-rw-r--r--app/scripts/transaction-manager.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/transaction-manager.js b/app/scripts/transaction-manager.js
index 7fcdbe7ca..d426993a4 100644
--- a/app/scripts/transaction-manager.js
+++ b/app/scripts/transaction-manager.js
@@ -157,8 +157,9 @@ module.exports = class TransactionManager extends EventEmitter {
txParams.data = normalize(txParams.data)
txParams.gasLimit = normalize(txParams.gasLimit || txParams.gas)
txParams.nonce = normalize(txParams.nonce)
+ txParams.chainId = parseInt(networkId)
- const ethTx = new Transaction(txParams, parseInt(networkId))
+ const ethTx = new Transaction(txParams)
// listener is assigned in metamaskController
this.emit(`${txParams.metamaskId}:formatted`, ethTx, address, txParams.metamaskId, cb)