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

fix: add wrong address to genesis file in add-genesis-account command. #81

Merged
merged 3 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ This version based on [lbm-sdk v0.46.0-rc6](https://github.com/line/lbm-sdk/rele
* (x/wasm) [\#79](https://github.com/line/lbm/pull/79) chore: add iterator feature for wasm module

### Improvements
[\#76](https://github.com/line/lbm/pull/76) fix Dockerfile.static to build lbm instead of building wasmvm in the Dockerfile
* (ci) [\#76](https://github.com/line/lbm/pull/76) fix Dockerfile.static to build lbm instead of building wasmvm in the Dockerfile

### Bug Fixes
* (command) [\#81](https://github.com/line/lbm/pull/81) add wrong address to genesis file in add-genesis-account command

### Breaking Changes

Expand Down
2 changes: 0 additions & 2 deletions cmd/lbm/cmd/genaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa
return fmt.Errorf("failed to get address from Keyring: %w", err)
}
addr = info.GetAddress()
} else {
addr = sdk.AccAddress(args[0])
}

coins, err := sdk.ParseCoinsNormalized(args[1])
Expand Down