From 918533ec30f4c20eaccc1a979035fa6b2e619c24 Mon Sep 17 00:00:00 2001 From: rzadp Date: Tue, 6 Aug 2019 14:24:07 +0200 Subject: [PATCH] import order --- ui/src/stores/ForeignStore.js | 6 +++--- ui/src/stores/HomeStore.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/src/stores/ForeignStore.js b/ui/src/stores/ForeignStore.js index ad725c2d1..faf231b61 100644 --- a/ui/src/stores/ForeignStore.js +++ b/ui/src/stores/ForeignStore.js @@ -16,6 +16,7 @@ import { getMaxPerTxLimit, getMinPerTxLimit, getCurrentLimit, + getPastEvents, getTotalSupply, getBalanceOf, getErc677TokenAddress, @@ -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' diff --git a/ui/src/stores/HomeStore.js b/ui/src/stores/HomeStore.js index 40bf8beef..2075d92c6 100644 --- a/ui/src/stores/HomeStore.js +++ b/ui/src/stores/HomeStore.js @@ -18,6 +18,7 @@ import { getMaxPerTxLimit, getMinPerTxLimit, getCurrentLimit, + getPastEvents, getMessage, getErc677TokenAddress, getSymbol, @@ -32,12 +33,11 @@ import { getForeignFee, getFeeManagerMode, ZERO_ADDRESS, + getValidatorList, getBlockRewardContract, getValidatorContract, getRequiredSignatures, - getValidatorCount, - getValidatorList, - getPastEvents + getValidatorCount } from './utils/contract' import { balanceLoaded, removePendingTransaction } from './utils/testUtils' import sleep from './utils/sleep' @@ -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 [] })