diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-08 07:57:44 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:13:46 +0800 |
commit | aa63632fff4265e9d68a797dd6fcd5fe7b27245c (patch) | |
tree | 6f7e91a3217239ba34714a54c31ef7defc224614 /packages | |
parent | d86f5c4fbdaea40402e059cdad7ccd7453f66f32 (diff) | |
download | dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.gz dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.bz2 dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.lz dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.xz dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.tar.zst dexon-0x-contracts-aa63632fff4265e9d68a797dd6fcd5fe7b27245c.zip |
Remove unused function parameter in index.ts script
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pipeline/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts index 165ff9780..136d7a64b 100644 --- a/packages/pipeline/src/index.ts +++ b/packages/pipeline/src/index.ts @@ -31,7 +31,7 @@ let connection: Connection; await getExchangeEventsAsync(provider); await getBlockAsync(provider); await getTransactionAsync(provider); - await getRelayers(RELAYER_REGISTRY_URL); + await getRelayers(); process.exit(0); })(); @@ -74,7 +74,7 @@ async function getTransactionAsync(provider: Web3ProviderEngine): Promise<void> console.log('Done saving tx.'); } -async function getRelayers(url: string): Promise<void> { +async function getRelayers(): Promise<void> { console.log('Getting relayer info...'); const relayerRepository = connection.getRepository(Relayer); const relayerSource = new RelayerRegistrySource(RELAYER_REGISTRY_URL); |