changed transactionHash property name back

This commit is contained in:
Fabian Vogelsteller 2015-10-08 18:04:37 +02:00
parent ecd0b7776f
commit e74482464b

View File

@ -212,7 +212,7 @@ ContractFactory.prototype.new = function () {
callback(err);
} else {
// add the transaction hash
contract._transactionHash = hash;
contract.transactionHash = hash;
// call callback for the first time
callback(null, contract);
@ -223,7 +223,7 @@ ContractFactory.prototype.new = function () {
} else {
var hash = this.web3.eth.sendTransaction(options);
// add the transaction hash
contract._transactionHash = hash;
contract.transactionHash = hash;
checkForContractAddress(contract);
}
@ -257,7 +257,7 @@ ContractFactory.prototype.at = function (address, callback) {
*/
var Contract = function (web3, abi, address) {
this._web3 = web3;
this._transactionHash = null;
this.transactionHash = null;
this.address = address;
// this functions are not part of prototype,