[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,

This post was last modified on June 14, 2018, 10:16 am