forked from TrueCloudLab/frostfs-node
[#1633] neofs-adm: Fix dump generation in init
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
4abe5a7245
commit
642d7328ab
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue