Skip to content

Commit

Permalink
fix: apply CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgebal committed Sep 16, 2020
1 parent a4e0cf5 commit f40b642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/omg_db/lib/omg_db/release_tasks/init_keys_with_values.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule OMG.DB.ReleaseTasks.InitKeysWithValues do
Enum.each(@keys_to_values, &set_single_value/1)

{:error, _} ->
_ = Logger.info("Failed to start OMG.DB, proably database is not initialized")
_ = Logger.info("DB not initialized yet, no action required")
:ok
end
end
Expand All @@ -40,7 +40,7 @@ defmodule OMG.DB.ReleaseTasks.InitKeysWithValues do
case OMG.DB.RocksDB.get_single_value(key) do
:not_found ->
:ok = OMG.DB.RocksDB.multi_update([{:put, key, init_val}])
_ = Logger.info("#{key} not set. Setting it to #{init_val}")
_ = Logger.info("#{key} not set. Setting it to #{inspect(init_val)}")
:ok

{:ok, _} ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ defmodule OMG.Watcher.ExitProcessor.InFlightExitInfo do
do: is_older?(seen_in_pos, oldest_competitor_pos)

@doc """
Converts integer to in-flight exit contract id
Converts integer to contract's in-flight exit id
"""
@spec to_contract_id(non_neg_integer) :: <<_::192>>
def to_contract_id(id), do: <<id::192>>
Expand Down

0 comments on commit f40b642

Please sign in to comment.