Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
fix(kleros-wrapper): use correct index for juror.atStake
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
epiqueras committed Mar 5, 2018
1 parent 2437737 commit 143bbc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/contractWrappers/KlerosWrapper.js
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
@@ -1,6 +1,6 @@
const { resolve } = require('path')

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

0 comments on commit 143bbc0

Please sign in to comment.