[LiskHQ/lisk] Balances in mem_accounts off after snapshotting (#2126)

SQL query to validate `rounds_rewards` table:
«`
WITH b_rewards AS (
SELECT CEIL(height / 101::float)::int AS round, SUM(«totalFee») AS fees, SUM(reward) AS rewards FROM blocks GROUP BY CEIL(height / 101::float)::int
),
rr_rewards AS (
SELECT round, SUM(fees) AS fees,

Добавить комментарий