From 1231db87b5406357a6c20f004611cc600d88f320 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 18 Aug 2022 11:26:06 +0300 Subject: [PATCH] do fix price trick Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/update.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/neofs-adm/internal/modules/morph/update.go b/cmd/neofs-adm/internal/modules/morph/update.go index 8be88ac6c..2251714a0 100644 --- a/cmd/neofs-adm/internal/modules/morph/update.go +++ b/cmd/neofs-adm/internal/modules/morph/update.go @@ -55,6 +55,7 @@ func hardcodeNNS(cmd *cobra.Command, _ []string) error { } w := io.NewBufBinWriter() + emit.AppCall(w.BinWriter, nnsCs.Hash, "setPrice", callflag.All, 1) for name, sh := range hashes { h, err := util.Uint160DecodeStringLE(sh) if err != nil { @@ -73,6 +74,7 @@ func hardcodeNNS(cmd *cobra.Command, _ []string) error { // name, int64(nns.TXT), h.StringLE()) //c.Command.Printf("NNS: Set %s -> %s\n", name, h.StringLE()) } + emit.AppCall(w.BinWriter, nnsCs.Hash, "setPrice", callflag.All, 10_0000_0000) if w.Err != nil { panic(w.Err) }