Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhiran committed Feb 20, 2025
1 parent 9b978cc commit 997f335
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ import (

func signMesssage(data []byte, projectID uint64, cfg *project.Config, key *ecdsa.PrivateKey) ([]byte, error) {
req := &api.CreateTaskReq{
Nonce: uint64(time.Now().Unix()),
ProjectID: strconv.Itoa(int(projectID)),
Payload: data,
Nonce: uint64(time.Now().Unix()),
ProjectID: strconv.Itoa(int(projectID)),
ProjectVersion: cfg.Version,
Payload: data,
}

reqJson, err := json.Marshal(req)
Expand Down

0 comments on commit 997f335

Please sign in to comment.