Skip to content
Permalink
Browse files

fix: revert event._args.disputeId to event._args.disputeID

  • Loading branch information...
satello committed Mar 15, 2018
1 parent d13f307 commit c722a04fa6a72fdfc5eeafcc46b9870ab49c43e1
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/abstractWrappers/Disputes.js
  2. +1 −1 tests/integration/notifications.test.js
@@ -30,7 +30,7 @@ class Disputes extends AbstractWrapper {
contractAddress = arbitratorAddress,
address = account
) => {
const disputeId = event.args._disputeId.toNumber()
const disputeId = event.args._disputeID.toNumber()
const disputeData = await this.getDataForDispute(
contractAddress,
disputeId,
@@ -74,7 +74,7 @@ class Disputes extends AbstractWrapper {
contractAddress = arbitratorAddress,
address = defaultAccount
) => {
const disputeId = event.args._disputeId.toNumber()
const disputeId = event.args._disputeID.toNumber()
const account = event.args._account
const amountShift = event.args._amount.toNumber()
// juror won/lost tokens
@@ -460,6 +460,6 @@ describe('Notifications and Event Listeners', () => {
)
// TODO find way to check timestamps and other non-callback notifications
},
200000
250000
)
})

0 comments on commit c722a04

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