Skip to content

Commit

Permalink
🚨 Still some leftovers from deepfreeze
Browse files Browse the repository at this point in the history
  • Loading branch information
vekexasia committed Oct 16, 2018
1 parent f4c6394 commit 64ad511
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/functionalities/fairVote.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('Fair vote system', async () => {
expect(initialVotesWeight).to.be.equal(acc.balance);
acc.set('producedblocks', 200);
acc.set('missedblocks', 201);
acc.save();
await acc.save();
await initializer.rawMineBlocks(constants.activeDelegates);
blocksToDelete += constants.activeDelegates;
const accAfter = await accountsModel.findById(newDelegateWallet.address);
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/highlevel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ describe('highlevel checks', function () {
]);


expect(blocksModule.lastBlock.blockSignature).to.be.deep.eq(block.blockSignature.toString('hex'));
expect(blocksModule.lastBlock.blockSignature).to.be.deep.eq(block.blockSignature);

// Next TX should be in pool we ensure it gets processed by refilling pool
expect(txModule.transactionInPool(nextTx.id)).true;
Expand Down Expand Up @@ -544,7 +544,7 @@ describe('highlevel checks', function () {

]);

expect(blocksModule.lastBlock.blockSignature).to.be.deep.eq(block.blockSignature.toString('hex'));
expect(blocksModule.lastBlock.blockSignature).to.be.deep.eq(block.blockSignature);


if (txModule.getMergedTransactionList().length > 0) {
Expand Down

0 comments on commit 64ad511

Please sign in to comment.