forked from TrueCloudLab/frostfs-node
[#888] neofs-adm: dump NNS contract hash
This can be useful for debugging. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
57007f4a52
commit
ec27a96b8c
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue