[#1959] neofs-adm: Dump all blocks in file

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-10-24 14:31:01 +03:00 committed by fyrchik
parent 23622ed283
commit 8648b102db

View file

@ -474,6 +474,6 @@ 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())
err = chaindump.Dump(l.bc, w, 0, l.bc.BlockHeight()+1)
return
}