Alpha/Tests: fix non-increasing level when finalizing an incremental block

parent c1f36a5a
......@@ -164,6 +164,7 @@ let finalize_block st =
{ st.header with
shell = {
st.header.shell with
level = Int32.succ st.header.shell.level ;
operations_hash ; fitness = result.fitness ;
} } in
let hash = Block_header.hash header in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment