mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 11:08:33 +00:00
changed transactionHash property name back
This commit is contained in:
parent
ecd0b7776f
commit
e74482464b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user