Commit 5086d64a authored by vicotor's avatar vicotor

update

parent 3683f6cd
...@@ -111,6 +111,7 @@ func (n *Node) Loop(idx int) { ...@@ -111,6 +111,7 @@ func (n *Node) Loop(idx int) {
receipt.TaskDuration = (time.Now().UnixNano() - int64(task.TaskTimestamp)) / 1000 receipt.TaskDuration = (time.Now().UnixNano() - int64(task.TaskTimestamp)) / 1000
receipt.TaskFee = 0 receipt.TaskFee = 0
receipt.TaskOutLen = 0 receipt.TaskOutLen = 0
receipt.TaskExecuteDuration = 0
receipt.TaskProfitAccount = "" receipt.TaskProfitAccount = ""
receipt.TaskWorkerAccount = "" receipt.TaskWorkerAccount = ""
switch err { switch err {
...@@ -143,7 +144,6 @@ func (n *Node) Loop(idx int) { ...@@ -143,7 +144,6 @@ func (n *Node) Loop(idx int) {
TaskFee: task.TaskFee, TaskFee: task.TaskFee,
TaskIsSucceed: false, TaskIsSucceed: false,
TaskError: err.Error(), TaskError: err.Error(),
TaskExecuteDuration: 0,
} }
postReceipt(task, result, err) postReceipt(task, result, err)
err = postResult(task, result) err = postResult(task, result)
......
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