Skip to content
Permalink
Browse files

fix(disputes): wait for getDispute and getData in getDataForDispute

  • Loading branch information...
epiqueras authored and satello committed Mar 10, 2018
1 parent 9c08d20 commit d13f3076a6ccaf7d381d8edc117d5f3e4c229cb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/abstractWrappers/Disputes.js
@@ -661,7 +661,7 @@ class Disputes extends AbstractWrapper {
this._checkArbitrableWrappersSet()

// Get dispute data from contract, and throw if not found. Also get current session and period
const [dispute, arbitratorData] = Promise.all([
const [dispute, arbitratorData] = await Promise.all([
this._Arbitrator.getDispute(arbitratorAddress, disputeId),
this._Arbitrator.getData(arbitratorAddress, account)
])

0 comments on commit d13f307

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