Fix build and tests

This commit is contained in:
Amir Bandeali
2019-09-17 15:31:19 -07:00
parent 336e8bafb4
commit 9b2672841d
4 changed files with 7 additions and 7 deletions

View File

@@ -123,8 +123,8 @@ blockchainTests.resets('Testing Rewards', env => {
: ZERO,
};
const pool = await stakingApiWrapper.rewardVaultContract.poolById.callAsync(poolId);
const operatorBalance = pool[2];
const membersBalance = pool[3];
const operatorBalance = pool[1];
const membersBalance = pool[2];
const poolBalances = { poolBalance: operatorBalance.plus(membersBalance), operatorBalance, membersBalance };
const finalEndBalancesAsArray = await Promise.all([
// staker 1