From b7a73d3e254132182e53b896f9a2a302662074ff Mon Sep 17 00:00:00 2001 From: sevenflash Date: Fri, 22 Dec 2017 03:50:00 +0300 Subject: [PATCH] fix typo --- lib/web3/contract.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/web3/contract.js b/lib/web3/contract.js index a8cb71c8c06..5e1a4ffbce3 100644 --- a/lib/web3/contract.js +++ b/lib/web3/contract.js @@ -178,7 +178,7 @@ var ContractFactory = function (eth, abi) { */ this.new = function () { /*jshint maxcomplexity: 7 */ - + var contract = new Contract(this.eth, this.abi); // parse arguments @@ -210,7 +210,7 @@ var ContractFactory = function (eth, abi) { if (callback) { - // wait for the contract address adn check if the code was deployed + // wait for the contract address and check if the code was deployed this.eth.sendTransaction(options, function (err, hash) { if (err) { callback(err);