Skip to content
Permalink
Browse files

fix: use BigNumber .minus (#165)

  • Loading branch information...
satello committed Aug 9, 2018
1 parent 0fbd48d commit 76f457e1bbcc0c31f51fdf58d5fa96070af563b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/contracts/implementations/arbitrator/Kleros.js
@@ -123,7 +123,7 @@ class Kleros extends ContractImplementation {
let activatedTokens = 0
if (juror[2].toNumber() === currentSession.toNumber())
activatedTokens = this._Web3Wrapper.fromWei(
juror[4].toNumber() - juror[3].toNumber(),
(juror[4].minus(juror[3])).toNumber(),
'ether'
)

0 comments on commit 76f457e

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