Skip to content
Permalink
Browse files

fix(kleros-wrapper): use correct index for juror.atStake

Closes #63
  • Loading branch information...
epiqueras committed Mar 5, 2018
1 parent 2437737 commit 143bbc010ba3e91856985cae1ab80ad326bf252e
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/contractWrappers/KlerosWrapper.js
  2. +2 −2 webpack.config.js
@@ -132,7 +132,7 @@ class KlerosWrapper extends ContractWrapper {
)
}
// tokens locked into disputes
const lockedTokens = this._Web3Wrapper.fromWei(juror[2], 'ether')
const lockedTokens = this._Web3Wrapper.fromWei(juror[1], 'ether')

return {
activatedTokens,
@@ -1,6 +1,6 @@
const { resolve } = require('path')

module.exports = env => ({
module.exports = {
entry: './src/index.js',
output: {
path: resolve(__dirname, 'lib/'),
@@ -21,4 +21,4 @@ module.exports = env => ({
}
]
}
})
}

0 comments on commit 143bbc0

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