forked from TrueCloudLab/frostfs-node
[#1633] neofs-adm: Fix dump generation in `init`
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>neofs-adm-fix-update
parent
4abe5a7245
commit
642d7328ab
|
@ -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 New Issue