Skip to content

Commit

Permalink
adm: Read GAS from the correct flag in generate-storage-wallet (#2766)
Browse files Browse the repository at this point in the history
A copy-paste regression from the
d41d7a7.
  • Loading branch information
roman-khimov authored Mar 6, 2024
2 parents e64483d + b4f15b2 commit 2840694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changelog for NeoFS Node
- Access to `PUT` objects no longer grants `DELETE` rights (#2261)
- Storage nodes no longer reject GET w/ TTL=1 requests to read complex objects (#2447)
- Response exceeding the deadline for TLS errors (#2561)
- `neofs-adm morph generate-storage-wallet` was not able to read `--initial-gas` flag (#2766)

### Changed
- IR now checks format of NULL and numeric eACL filters specified in the protocol (#2742)
Expand Down
2 changes: 1 addition & 1 deletion cmd/neofs-adm/internal/modules/morph/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func generateStorageCreds(cmd *cobra.Command, _ []string) error {
return err
}

gasAmount, err := parseGASAmount(viper.GetString(refillGasAmountFlag))
gasAmount, err := parseGASAmount(viper.GetString(storageGasConfigFlag))
if err != nil {
return err
}
Expand Down

0 comments on commit 2840694

Please sign in to comment.