Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ejMina226 committed Jan 22, 2024
1 parent 6ed98b1 commit e9525df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/mina_base/user_command.ml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ let minimum_fee = Currency.Fee.minimum_user_command_fee

let has_insufficient_fee t = Currency.Fee.(fee t < minimum_fee)

let is_disabled t =
match t with
let is_disabled = function
| Zkapp_command _ ->
Mina_compile_config.zkapps_disabled
| _ ->
Expand Down Expand Up @@ -409,7 +408,7 @@ module Well_formedness_error = struct
| Zkapp_too_big err ->
sprintf "Zkapp too big (%s)" (Error.to_string_hum err)
| Transaction_type_disabled ->
"Zkapps are disabled"
"Transaction type disabled"
end

let check_well_formedness ~genesis_constants t :
Expand Down

0 comments on commit e9525df

Please sign in to comment.