Skip to content

Commit

Permalink
v.19.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ellis2323 committed Nov 26, 2018
1 parent 2eb9025 commit ff93820
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cmd/fio/fio.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ func exitMsgError(code int, msg string) {
// SignSuccess return struct
type SignSuccess struct {
Code int `json:"code"`
Hash string `json:"hash,omitempty"`
Files []string `json:"files,omitempty"`
}

Expand Down Expand Up @@ -185,6 +186,7 @@ func signFunction() {
signACertificate("", hash, keyuid, privkey, metadata)
var res SignSuccess
res.Code = 0
res.Hash = hash
res.Files = filesCertified
exitSuccess(res, fmt.Sprintf("File(s) certified: %d", len(filesCertified)))
return
Expand Down Expand Up @@ -221,6 +223,7 @@ func signFunction() {
signACertificate(batch, hash, keyuid, privkey, metadata)
var res SignSuccess
res.Code = 0
res.Hash = hash
res.Files = filesCertified
exitSuccess(res, fmt.Sprintf("File(s) certified: %d", len(filesCertified)))
return
Expand Down
2 changes: 1 addition & 1 deletion cmd/fio/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

const (
// Version - fbk version
Version = "1.9.9"
Version = "1.9.10"
// Author fireblock
Author = "Laurent Mallet laurent.mallet at gmail dot com"
)
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.9
1.9.10

0 comments on commit ff93820

Please sign in to comment.