Skip to content

Commit

Permalink
add changelog + make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinssgh committed Feb 8, 2024
1 parent 2db103b commit 16d549a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* [1692](https://github.com/zeta-chain/node/pull/1692) - fix get params query for emissions module
* ([1733](https://github.com/zeta-chain/node/pull/1733)) - remove the unnecessary 2x multiplier in the convertGasToZeta RPC
* [1721](https://github.com/zeta-chain/node/issues/1721) - zetaclient should provide bitcoin_chain_id when querying TSS address
* [1744](https://github.com/zeta-chain/node/pull/1744) - added cmd to encrypt tss keyshare file, allowing empty tss password for backward compatibility.

### Tests

Expand Down
7 changes: 4 additions & 3 deletions cmd/zetaclientd/encrypt_tss.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
"crypto/sha256"
"encoding/json"
"errors"
"github.com/spf13/cobra"
"io"
"os"

"github.com/spf13/cobra"
)

var encTssCmd = &cobra.Command{
Expand All @@ -28,8 +29,8 @@ var tssArgs = TSSArgs{}
func init() {
RootCmd.AddCommand(encTssCmd)

encTssCmd.Flags().StringVar(&tssArgs.secretKey, "secret", "", "tss-encrpyt --secret p@$$w0rd")
encTssCmd.Flags().StringVar(&tssArgs.filePath, "filepath", "", "tss-encrpyt --filepath ./file.json")
encTssCmd.Flags().StringVar(&tssArgs.secretKey, "secret", "", "tss-encrypt --secret p@$$w0rd")
encTssCmd.Flags().StringVar(&tssArgs.filePath, "filepath", "", "tss-encrypt --filepath ./file.json")
}

func EncryptTSSFile(_ *cobra.Command, _ []string) error {
Expand Down

0 comments on commit 16d549a

Please sign in to comment.