forked from TrueCloudLab/frostfs-node
[#1959] neofs-adm: Dump all blocks in file
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
23622ed283
commit
8648b102db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue