Skip to content

Commit

Permalink
coin distribution preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-ares committed Dec 16, 2023
1 parent 7a16048 commit 03f1663
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion coin-distribution/pending_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (r *repository) GetCoinDistributionsForReview(ctx context.Context, arg *Get
}
conditions, whereArgs = arg.totalsWhere()
sql = fmt.Sprintf(`SELECT count(1) AS rows,
sum(ice) AS ice
coalesce(sum(ice),0) AS ice
FROM coin_distributions_pending_review
WHERE 1=1
AND %[1]v`, strings.Join(append(conditions, "1=1"), " AND "))
Expand Down
1 change: 0 additions & 1 deletion tokenomics/mining_sessions.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ type (
model.DeserializedUsersKey
}
getCurrentMiningSession struct {
model.ReferralsCountChangeGuardUpdatedAtField
StartOrExtendMiningSession
model.KYCState
model.LatestDeviceField
Expand Down

0 comments on commit 03f1663

Please sign in to comment.