Skip to content

Commit

Permalink
Fix tocken lock getter function in test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Dec 8, 2018
1 parent c8b91c6 commit 2437fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/test-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export async function getValidEntryNumber(colonyNetwork, account, hash, starting
const tokenLockingAddress = await colonyNetwork.getTokenLocking();
const tokenLocking = await ITokenLocking.at(tokenLockingAddress);
const userLockInformation = await tokenLocking.getUserLock(clnyAddress, account);
const userBalance = userLockInformation.amount;
const userBalance = new BN(userLockInformation.balance);

// What's the largest entry they can submit?
const nIter = userBalance.div(MIN_STAKE);
Expand Down

0 comments on commit 2437fbc

Please sign in to comment.