[#1515] adm: Print address in base58 format in morph ape get-admin #1520
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1520
Loading…
Reference in a new issue
No description provided.
Delete branch "george.bartolomey/frostfs-node:1-admin-base58"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: George Bartolomey george@bh4.ru
Closes: #1515
@ -201,3 +202,3 @@
func setAdmin(cmd *cobra.Command, _ []string) {
s, _ := cmd.Flags().GetString(addrAdminFlag)
addr, err := util.Uint160DecodeStringLE(s)
addrBytes, err := base58.Decode(s)
Please, look at the
address
package.https://github.com/nspcc-dev/neo-go/blob/master/pkg/encoding/address/address.go
We shouldn't use base58 package directly here.
Please, don't resolve comments yourself, it is a burden of a reviewer.
4ea6cbbf61
toceb916ce55
👍
Please update commit message accordingly.