File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/app/archive_hardfork_toolbox Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ let is_in_best_chain ~postgres_uri ~fork_state_hash ~fork_height ~fork_slot () =
5757 let % bind (in_chain : bool ) =
5858 query_db
5959 ~f:
60- (Sql. is_in_the_best_chain ~tip_hash: tip ~check_hash: fork_state_hash
60+ (Sql. is_in_best_chain ~tip_hash: tip ~check_hash: fork_state_hash
6161 ~check_height: fork_height ~check_slot: (Int64. of_int fork_slot) )
6262 in
6363 let result =
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ let latest_state_hash_query =
1212let latest_state_hash (module Conn : CONNECTION ) =
1313 Conn. find latest_state_hash_query ()
1414
15- let is_in_the_best_chain_query =
15+ let is_in_best_chain_query =
1616 (Caqti_type. (t4 string string int int64 ) ->! Caqti_type. bool )
1717 {sql|
1818 WITH RECURSIVE chain AS (
@@ -47,9 +47,9 @@ let is_in_the_best_chain_query =
4747 ) AS is_in_chain;
4848 | sql}
4949
50- let is_in_the_best_chain (module Conn : CONNECTION ) ~tip_hash ~check_hash
50+ let is_in_best_chain (module Conn : CONNECTION ) ~tip_hash ~check_hash
5151 ~check_height ~check_slot =
52- Conn. find is_in_the_best_chain_query
52+ Conn. find is_in_best_chain_query
5353 (tip_hash, check_hash, check_height, check_slot)
5454
5555let no_of_confirmations_query =
You can’t perform that action at this time.
0 commit comments