[#888] neofs-adm: dump NNS contract hash
This can be useful for debugging. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>remotes/fyrchik/container-alias-fee
parent
57007f4a52
commit
ec27a96b8c
|
@ -61,6 +61,8 @@ func dumpContractHashes(cmd *cobra.Command, _ []string) error {
|
|||
buf := bytes.NewBuffer(nil)
|
||||
tw := tabwriter.NewWriter(buf, 0, 2, 2, ' ', 0)
|
||||
|
||||
_, _ = tw.Write([]byte(fmt.Sprintf("%s:\t%s\n", nnsContract, cs.Hash.StringLE())))
|
||||
|
||||
if irSize != 0 {
|
||||
bw.Reset()
|
||||
for i := 0; i < irSize; i++ {
|
||||
|
|
Loading…
Reference in New Issue