Alpha/Baker: comments
This commit is contained in:
parent
c35f42ff0e
commit
a5cb2c1a5d
@ -37,7 +37,7 @@ let () =
|
||||
~title:"Bad -max-priority arg"
|
||||
~description:("invalid priority in -max-priority")
|
||||
~pp:(fun ppf literal ->
|
||||
Format.fprintf ppf "invalid priority '%s'in -max-priority" literal)
|
||||
Format.fprintf ppf "invalid priority '%s' in -max-priority" literal)
|
||||
Data_encoding.(obj1 (req "parameter" string))
|
||||
(function Bad_max_priority parameter -> Some parameter | _ -> None)
|
||||
(fun parameter -> Bad_max_priority parameter) ;
|
||||
|
@ -732,7 +732,7 @@ let bake (cctxt : #Proto_alpha.full) ?threshold state =
|
||||
return ()
|
||||
end
|
||||
|
||||
| _ ->
|
||||
| _ -> (* no candidates, or none fit-enough *)
|
||||
lwt_debug "No valid candidates." >>= fun () ->
|
||||
return ()
|
||||
|
||||
@ -792,7 +792,7 @@ let create
|
||||
] >>= function
|
||||
(* event matching *)
|
||||
| `Hash (None | Some (Error _)) ->
|
||||
(* return to restart *)
|
||||
(* exit when the node is unavailable *)
|
||||
last_get_block := None ;
|
||||
lwt_log_error "Connection to node lost, exiting." >>= fun () ->
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user