Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] Stake command bugfix #518

Merged
merged 3 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions app/client/cli/actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ If no changes are desired for the parameter, just enter the current param value
RunE: func(cmd *cobra.Command, args []string) error {
// Unpack CLI arguments
fromAddrHex := args[0]
fromAddr := crypto.AddressFromString(args[0])
amount := args[1]

// Open the keybase at the specified directory
Expand Down Expand Up @@ -129,7 +128,7 @@ If no changes are desired for the parameter, just enter the current param value
serviceURI := args[3]

msg := &typesUtil.MessageStake{
PublicKey: fromAddr,
PublicKey: pk.PublicKey().Bytes(),
Chains: chains,
Amount: amount,
ServiceUrl: serviceURI,
Expand Down
3 changes: 2 additions & 1 deletion app/client/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.0.0.14] - 2023-02-16

- Introduced logical switch to handle parsing of the debug private keys from a local file OR from Kubernetes secret
- Introduced logical switch to handle parsing of the debug private keys from a local file OR from Kubernetes secret (PR #517)
- Bugfix for `Stake` command. Address erroneously sent instead of the PublicKey. (PR #518)

## [0.0.0.13] - 2023-02-14

Expand Down