mirror of https://github.com/status-im/web3.js.git
Merge pull request #222 from jesuscript/master
sync sendTransaction returning tx address
This commit is contained in:
commit
ca58837248
|
@ -121,8 +121,7 @@ SolidityFunction.prototype.sendTransaction = function () {
|
|||
var payload = this.toPayload(args);
|
||||
|
||||
if (!callback) {
|
||||
web3.eth.sendTransaction(payload);
|
||||
return;
|
||||
return web3.eth.sendTransaction(payload);;
|
||||
}
|
||||
|
||||
web3.eth.sendTransaction(payload, callback);
|
||||
|
|
Loading…
Reference in New Issue