Merge pull request #222 from jesuscript/master

sync sendTransaction returning tx address
This commit is contained in:
Marek Kotewicz 2015-05-28 02:10:31 +02:00
commit ca58837248
1 changed files with 1 additions and 2 deletions

View File

@ -121,8 +121,7 @@ SolidityFunction.prototype.sendTransaction = function () {
var payload = this.toPayload(args); var payload = this.toPayload(args);
if (!callback) { if (!callback) {
web3.eth.sendTransaction(payload); return web3.eth.sendTransaction(payload);;
return;
} }
web3.eth.sendTransaction(payload, callback); web3.eth.sendTransaction(payload, callback);