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

MaciejBaj commented on this pull request.

> + describe(‘when summedRound query is successful’, () => {
+ before(done => {
+ var rows = [
+ {
+ rewards: [1.001, 2, 3],
+ fees: 100.001,
+ delegates: [‘delegate1’, ‘delegate2’, ‘delegate3’],
+ },
+ ];
+ stub = sinon.stub(db.rounds, ‘summedRound’).resolves(rows);
+ done();
+ });
+
+ after(() => {
+ return stub.restore();
+ });

Please do @4miners, the behaviour shouldn’t change.

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