Commit 92356069 authored by Alex Beregszaszi's avatar Alex Beregszaszi

UDapp: handle errors from sendTransaction()

parent ffc8e957
......@@ -611,6 +611,10 @@ UniversalDApp.prototype.runTx = function (data, args, cb) {
tx.gas = resp;
self.web3.eth.sendTransaction(tx, function (err, resp) {
if (err) {
return cb(err, resp);
}
tryTillResponse(self.web3, resp, cb);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment