From 8648b102db8372ce75ca48ab3c460c8c6899da27 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 24 Oct 2022 14:31:01 +0300 Subject: [PATCH] [#1959] neofs-adm: Dump all blocks in file Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/local_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-adm/internal/modules/morph/local_client.go b/cmd/neofs-adm/internal/modules/morph/local_client.go index fd75de49e1..1273192d4c 100644 --- a/cmd/neofs-adm/internal/modules/morph/local_client.go +++ b/cmd/neofs-adm/internal/modules/morph/local_client.go @@ -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 }