Skip to content

Commit

Permalink
Merge pull request #223 from ethereum/revert-222-master
Browse files Browse the repository at this point in the history
Revert "sync sendTransaction returning tx address"
  • Loading branch information
debris committed May 28, 2015
2 parents ca58837 + f229f4e commit e67e705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/web3/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ SolidityFunction.prototype.sendTransaction = function () {
var payload = this.toPayload(args);

if (!callback) {
return web3.eth.sendTransaction(payload);;
web3.eth.sendTransaction(payload);
return;
}

web3.eth.sendTransaction(payload, callback);
Expand Down

0 comments on commit e67e705

Please sign in to comment.