Skip to content

Commit

Permalink
fix(btcstaking/client): edit fp arg (#154)
Browse files Browse the repository at this point in the history
We're accessing arg at index 1, but should be at 0
  • Loading branch information
Lazar955 authored Oct 10, 2024
1 parent ea1b174 commit a5c4e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Bug fixes
* [#154](https://github.com/babylonlabs-io/babylon/pull/154) Fix "edit-finality-provider" cmd argument index

### Improvements

* [#148](https://github.com/babylonlabs-io/babylon/pull/148) Add block results query
Expand Down Expand Up @@ -69,7 +72,6 @@ to BTC delegations rest request `QueryBTCDelegationsRequest`.
for upgrade handler `testnet` and `mainnet`.

### Bug Fixes

* [#141](https://github.com/babylonlabs-io/babylon/pull/141) Generate voting
power events only once when reaching covenant committee quorum
* [#140](https://github.com/babylonlabs-io/babylon/pull/140) Removed `unbonding`
Expand Down
2 changes: 1 addition & 1 deletion x/btcstaking/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func NewEditFinalityProviderCmd() *cobra.Command {
}

// get BTC PK
btcPK, err := hex.DecodeString(args[1])
btcPK, err := hex.DecodeString(args[0])
if err != nil {
return err
}
Expand Down

0 comments on commit a5c4e94

Please sign in to comment.