Fix packBlockInfo

pull/380/head
Martin Boehm 2020-02-25 00:55:11 +01:00
parent a4da2f3865
commit 1d0a985c9e
1 changed files with 1 additions and 1 deletions

View File

@ -1250,7 +1250,7 @@ func (d *RocksDB) packBlockInfo(block *BlockInfo) ([]byte, error) {
if len(b) > pl {
b = b[:pl]
} else {
b = append(b, make([]byte, len(b)-pl)...)
b = append(b, make([]byte, pl-len(b))...)
}
}
packed = append(packed, b...)