Alpha/client: fix baking daemon

Missing classify operation.
This commit is contained in:
Grégoire Henry 2018-02-22 17:13:18 -05:00 committed by Benjamin Canou
parent dcc5bc6b1a
commit 9ff3be14b6

View File

@ -487,8 +487,9 @@ let bake (cctxt : #Proto_alpha.full) state =
let request = List.length operations in
let protocol_data =
forge_faked_protocol_data ~priority ~seed_nonce_hash in
let operations = classify_operations operations in
Block_services.preapply cctxt block
~timestamp ~sort:true ~protocol_data [operations] >>= function
~timestamp ~sort:true ~protocol_data operations >>= function
| Error errs ->
lwt_log_error "Error while prevalidating operations:\n%a"
pp_print_error