[#1633] neofs-adm: Fix dump generation in init

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-27 17:59:15 +03:00 committed by fyrchik
parent 4abe5a7245
commit 642d7328ab

View file

@ -379,6 +379,7 @@ func (l *localClient) dump() (err error) {
}()
w := io.NewBinWriterFromIO(f)
w.WriteU32LE(l.bc.BlockHeight() + 1)
err = chaindump.Dump(l.bc, w, 0, l.bc.BlockHeight())
return
}