Skip to content

Commit

Permalink
rm unused Balances module
Browse files Browse the repository at this point in the history
  • Loading branch information
It's me, CI committed Oct 31, 2023
1 parent cfeb6aa commit 11a2998
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/app/replayer/sql.ml
Original file line number Diff line number Diff line change
Expand Up @@ -464,16 +464,3 @@ module Parent_block = struct
epoch_ledgers_state_hash =
Conn.find query_parent_state_hash epoch_ledgers_state_hash
end

module Balances = struct
let query_insert_nonce =
Caqti_request.exec
Caqti_type.(tup2 int int64)
{sql| UPDATE balances
SET nonce = $2
WHERE id = $1
|sql}

let insert_nonce (module Conn : Caqti_async.CONNECTION) ~id ~nonce =
Conn.exec query_insert_nonce (id, nonce)
end

0 comments on commit 11a2998

Please sign in to comment.