loopdb: remove unused method ConfirmBatch

This commit is contained in:
Boris Nagaev 2025-06-12 13:29:48 -03:00
parent 72caafa14e
commit 1794aa21e5
No known key found for this signature in database
6 changed files with 0 additions and 50 deletions

View file

@ -21,20 +21,6 @@ func (q *Queries) CancelBatch(ctx context.Context, id int32) error {
return err
}
const confirmBatch = `-- name: ConfirmBatch :exec
UPDATE
sweep_batches
SET
confirmed = TRUE
WHERE
id = $1
`
func (q *Queries) ConfirmBatch(ctx context.Context, id int32) error {
_, err := q.db.ExecContext(ctx, confirmBatch, id)
return err
}
const getBatchSweeps = `-- name: GetBatchSweeps :many
SELECT
id, swap_hash, batch_id, outpoint, amt, completed