forked from TrueCloudLab/frostfs-node
do fix price trick
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
9a91ec4c5b
commit
1231db87b5
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue