Skip to content
Permalink
Browse files

fix: change reused variable (#166)

  • Loading branch information...
satello committed Aug 9, 2018
1 parent 084983a commit 84dce7104ede6af5201c542d11b0a9dd234b81e5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/resources/Disputes.js
@@ -378,10 +378,10 @@ class Disputes {
// Wait for parallel requests to complete
;[ruling, canRule] = await Promise.all(rulingPromises)

let rulings = []
let jurorRuling = []
// if can't rule that means they already did or they missed it
if (!canRule) {
ruling = await this._ArbitratorInstance.getVoteForJuror(
jurorRuling = await this._ArbitratorInstance.getVoteForJuror(
dispute.disputeId,
appeal,
account
@@ -406,7 +406,7 @@ class Disputes {
createdAt: appealCreatedAt,
fee: dispute.arbitrationFeePerJuror * draws.length,
draws,
ruling,
jurorRuling,
canRule
}
appealRulings[appeal] = {

0 comments on commit 84dce71

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