Skip to content
Snippets Groups Projects
Commit ede2afba authored by ABDELGHANI Nassim's avatar ABDELGHANI Nassim Committed by ABDELGHANI Nassim
Browse files

add comment about simple DB check

parent 1f848479
Branches
Tags
1 merge request!46Resolve "Validation locale"
......@@ -352,6 +352,7 @@ defmodule WS2P.Connection do
DB.lookup('block', block["number"]) != [] and
DB.lookup('global_bindex', block["number"]) != []
# simple check, could be improved see comment here https://gitlab.imt-atlantique.fr/dunixir/dunixir/-/merge_requests/45#note_5266
if !existing_block do
case Block.Validation.Local.valid(block) do
{:ok, [local_iindex, local_mindex, local_cindex, local_sindex]} ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment