Reencode will now explicitly upgrade input checkpoints from v1 to v2
This commit is contained in:
@@ -15,6 +15,7 @@ fn main() {
|
||||
let header = &rply.header;
|
||||
println!("{header:?}");
|
||||
let mut header_out = header.clone();
|
||||
header_out.upgrade();
|
||||
header_out.set_block_size(128);
|
||||
header_out.set_superblock_size(128);
|
||||
let mut out = encode(header_out, &rply.initial_state, &mut outfile).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user