File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/app/archive_hardfork_toolbox Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ let confirmations_check ~postgres_uri ~latest_state_hash ~fork_slot
7878 let % bind pool = connect postgres_uri in
7979 let query_db = Mina_caqti. query pool in
8080 let % bind confirmations =
81- query_db ~f: (Sql. no_of_confirmations ~latest_state_hash ~fork_slot )
81+ query_db ~f: (Sql. num_of_confirmations ~latest_state_hash ~fork_slot )
8282 in
8383 let result =
8484 if confirmations > = required_confirmations then Success
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ let is_in_best_chain (module Conn : CONNECTION) ~tip_hash ~check_hash
5656 Conn. find is_in_best_chain_query
5757 (tip_hash, check_hash, check_height, check_slot)
5858
59- let no_of_confirmations_query =
59+ let num_of_confirmations_query =
6060 (Caqti_type. (t2 string int ) ->! Caqti_type. int )
6161 ( chain_of_query
6262 ^ {sql|
@@ -65,9 +65,9 @@ let no_of_confirmations_query =
6565 |sql}
6666 )
6767
68- let no_of_confirmations (module Conn : CONNECTION) ~latest_state_hash ~fork_slot
69- =
70- Conn.find no_of_confirmations_query (latest_state_hash, fork_slot)
68+ let num_of_confirmations (module Conn : CONNECTION) ~latest_state_hash
69+ ~fork_slot =
70+ Conn.find num_of_confirmations_query (latest_state_hash, fork_slot)
7171
7272let number_of_commands_since_block_query block_commands_table =
7373 (Caqti_type.(t2 string int) ->! Caqti_type.(t4 string int int int))
You can’t perform that action at this time.
0 commit comments