From b0a75cbb6b5252fa6f913db0ccae3de8531e1011 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 6 Jan 2017 11:52:57 +0000 Subject: [PATCH] Require web3.js 0.18.0 --- package.json | 2 +- src/app/txRunner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8104da457d..542da842c2 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "solc": "https://github.com/ethereum/solc-js", "standard": "^8.5.0", "tape": "^4.5.1", - "web3": "https://github.com/ethereum/web3.js#35bcace7173fda742ddb1bba84c8a70f0fa849e0", + "web3": "^0.18.0", "webworkify": "^1.2.1", "yo-yo": "^1.2.2", "yo-yoify": "^3.3.0" diff --git a/src/app/txRunner.js b/src/app/txRunner.js index 061c07eb93..c5aab599ce 100644 --- a/src/app/txRunner.js +++ b/src/app/txRunner.js @@ -76,7 +76,7 @@ TxRunner.prototype.execute = function () { tx.gas = resp - var sendTransaction = self.personalMode ? self.web3.personal.unlockAccountAndSendTransaction : self.web3.eth.sendTransaction + var sendTransaction = self.personalMode ? self.web3.personal.sendTransaction : self.web3.eth.sendTransaction sendTransaction(tx, function (err, resp) { if (err) {