Skip to content
Permalink
Browse files

fix: use toString in notifications

  • Loading branch information...
satello committed Sep 6, 2018
1 parent 54edb90 commit 3cb5f9e6e2fb084f337920923b3464c9c0353868
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/resources/Notifications.js
@@ -462,7 +462,7 @@ class Notifications {
// address indexed _account, uint _disputeID, int _amount
const disputeID = event.args._disputeID.toNumber()
const address = event.args._account
const amount = event.args._amount.toNumber()
const amount = event.args._amount.toString()

if (account === address) {
const message =
@@ -501,7 +501,7 @@ class Notifications {
// address indexed _account, uint _disputeID, int _amount
const disputeID = event.args._disputeID.toNumber()
const address = event.args._account
const amount = event.args._amount.toNumber()
const amount = event.args._amount.toString()

if (account === address) {
const arbitratorAddress = this._ArbitratorInstance.getContractAddress()

0 comments on commit 3cb5f9e

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