Commit 3e21ad49 authored by vicotor's avatar vicotor

update standard task lib

parent 47e76f68
......@@ -2,7 +2,6 @@ package standardlib
import (
"encoding/json"
"github.com/ethereum/go-ethereum/common"
"github.com/odysseus/nodemanager/config"
odysseus "github.com/odysseus/odysseus-protocol/gen/proto/go/base/v1"
log "github.com/sirupsen/logrus"
......@@ -101,7 +100,7 @@ func loadStdTasks() []StdTask {
stdTasks[i].TaskParam = []byte(defStdTask.TaskParam)
stdTasks[i].TaskFee = defStdTask.TaskFee
stdTasks[i].TaskWorkload = defStdTask.TaskWorkload
stdTasks[i].ContainerPubkey = common.Hex2Bytes(defStdTask.ContainerPubkey)
stdTasks[i].ContainerPubkey = []byte(defStdTask.ContainerPubkey)
stdTasks[i].Standlib = defStdTask.Standlib
}
......
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