Commit 7974b685 authored by serapath's avatar serapath Committed by yann300

FIX naming

parent 53201354
...@@ -534,13 +534,13 @@ UniversalDApp.prototype.runTx = function (args, cb) { ...@@ -534,13 +534,13 @@ UniversalDApp.prototype.runTx = function (args, cb) {
}, },
// run transaction // run transaction
function (callback) { function (callback) {
var stamp = Date.now() var timestamp = Date.now()
self.event.trigger('initiatingTransaction', [stamp, tx]) self.event.trigger('initiatingTransaction', [timestamp, tx])
self.txRunner.rawRun(tx, function (error, result) { self.txRunner.rawRun(tx, function (error, result) {
if (!args.useCall) { if (!args.useCall) {
self.event.trigger('transactionExecuted', [error, args.from, args.to, args.data, false, result, stamp]) self.event.trigger('transactionExecuted', [error, args.from, args.to, args.data, false, result, timestamp])
} else { } else {
self.event.trigger('callExecuted', [error, args.from, args.to, args.data, true, result, stamp]) self.event.trigger('callExecuted', [error, args.from, args.to, args.data, true, result, timestamp])
} }
if (error) { if (error) {
if (typeof (error) !== 'string') { if (typeof (error) !== 'string') {
......
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