Skip to content
Permalink
Browse files

fix: activatedTokens is BN even when 0

  • Loading branch information...
satello committed Sep 6, 2018
1 parent 3cb5f9e commit 020fd259fbc16fb1ca53eb02be1309630450a531
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/contracts/implementations/arbitrator/Kleros.js
@@ -129,7 +129,7 @@ class Kleros extends ContractImplementation {

// Activated Tokens
const currentSession = await this.contractInstance.session()
let activatedTokens = 0
let activatedTokens = this._Web3Wrapper.toBigNumber(0)
if (juror[2].toNumber() === currentSession.toNumber())
activatedTokens = juror[4].minus(juror[3])

0 comments on commit 020fd25

Please sign in to comment.
You can’t perform that action at this time.