Skip to content

Commit

Permalink
import order
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 6, 2019
1 parent cc8e907 commit 8a201c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ui/src/stores/ForeignStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
getMaxPerTxLimit,
getMinPerTxLimit,
getCurrentLimit,
getPastEvents,
getTotalSupply,
getBalanceOf,
getErc677TokenAddress,
Expand All @@ -27,11 +28,10 @@ import {
getHomeFee,
getFeeManagerMode,
ZERO_ADDRESS,
getValidatorList,
getValidatorContract,
getRequiredSignatures,
getValidatorCount,
getValidatorList,
getPastEvents
getValidatorCount
} from './utils/contract'
import { balanceLoaded, removePendingTransaction } from './utils/testUtils'
import sleep from './utils/sleep'
Expand Down
8 changes: 4 additions & 4 deletions ui/src/stores/HomeStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
getMaxPerTxLimit,
getMinPerTxLimit,
getCurrentLimit,
getPastEvents,
getMessage,
getErc677TokenAddress,
getSymbol,
Expand All @@ -31,13 +32,12 @@ import {
getHomeFee,
getForeignFee,
getFeeManagerMode,
getValidatorList,
ZERO_ADDRESS,
getBlockRewardContract,
getValidatorContract,
getRequiredSignatures,
getValidatorCount,
getValidatorList,
getPastEvents
getValidatorCount
} from './utils/contract'
import { balanceLoaded, removePendingTransaction } from './utils/testUtils'
import sleep from './utils/sleep'
Expand Down Expand Up @@ -293,7 +293,7 @@ class HomeStore {
fromBlock = 0
}

let events = await getPastEvents(this.homeBridge, { fromBlock, toBlock }).catch(e => {
let events = await getPastEvents(this.homeBridge, fromBlock, toBlock).catch(e => {
console.error("Couldn't get events", e)
return []
})
Expand Down

0 comments on commit 8a201c2

Please sign in to comment.