Skip to content
Permalink
Browse files

fix: get dispute from store

  • Loading branch information...
satello committed Sep 5, 2018
1 parent 962dcd4 commit 696e715fb704bbe0952bec32c92357efffb5aac8
@@ -108,7 +108,7 @@ class Arbitrator extends AbstractContract {
(await this._StoreProvider.getDisputes(account))
.filter(dispute => dispute.arbitratorAddress === aribtratorAddress)
.map(dispute =>
this._contractImplementation.getDispute(dispute.disputeID)
this._contractImplementation.getDispute(dispute.disputeId)
)
)
}
@@ -369,7 +369,7 @@ class Kleros extends ContractImplementation {
}
// eslint-disable-next-line no-unused-vars
} catch (err) {
// console.error(err)
console.error(err)
throw new Error(errorConstants.UNABLE_TO_FETCH_DISPUTE)
}
}
@@ -401,7 +401,7 @@ class Disputes {

appealJuror[appeal] = {
createdAt: appealCreatedAt,
fee: dispute.arbitrationFeePerJuror * draws.length,
fee: dispute.arbitrationFeePerJuror.mul(draws.length),
draws,
jurorRuling,
canRule

0 comments on commit 696e715

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