Skip to content

Commit

Permalink
Merge pull request #649 from 0chain/feature/multi-wallet
Browse files Browse the repository at this point in the history
Feature/multi wallet
  • Loading branch information
dabasov authored Oct 22, 2024
2 parents 92cb644 + 0beaba3 commit 37bcd0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/walletinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ var walletinfoCmd = &cobra.Command{
fmt.Println("Error getting the public key for encryption. ", err.Error())
return
}
data[0] = []string{client.PublicKey(), client.ClientID(), encPubKey}
data[0] = []string{client.PublicKey(), client.Id(), encPubKey}
if doJSON {
j := make(map[string]string)
j["client_public_key"] = client.PublicKey()
j["client_id"] = client.ClientID()
j["client_id"] = client.Id()
j["encryption_public_key"] = encPubKey
util.PrintJSON(j)
return
Expand All @@ -70,7 +70,7 @@ var signCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
data, _ := cmd.Flags().GetString("data")
if data == "" {
data = client.ClientID()
data = client.Id()
} else {
data = encryption.Hash(data)
}
Expand Down

0 comments on commit 37bcd0a

Please sign in to comment.