Alpha/Tests: fix non-increasing level when finalizing an incremental block
This commit is contained in:
parent
c1f36a5ad2
commit
1a75bbf95c
@ -164,6 +164,7 @@ let finalize_block st =
|
|||||||
{ st.header with
|
{ st.header with
|
||||||
shell = {
|
shell = {
|
||||||
st.header.shell with
|
st.header.shell with
|
||||||
|
level = Int32.succ st.header.shell.level ;
|
||||||
operations_hash ; fitness = result.fitness ;
|
operations_hash ; fitness = result.fitness ;
|
||||||
} } in
|
} } in
|
||||||
let hash = Block_header.hash header in
|
let hash = Block_header.hash header in
|
||||||
|
Loading…
Reference in New Issue
Block a user