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

This commit is contained in:
Vincent Botbol 2018-07-09 11:19:30 +02:00
parent c1f36a5ad2
commit 1a75bbf95c
No known key found for this signature in database
GPG Key ID: A2CE1BDBED95DA38

View File

@ -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