diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-08 07:57:44 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 774971c98c0881dc34ae294a0a9a7d6db55e37c4 (patch) | |
tree | bbb07eed50a2d709c2818fc5c78c5560754c38eb /packages | |
parent | 25b6e7092f4b8dfb3c15c8c6b815226196b87831 (diff) | |
download | dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar.gz dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar.bz2 dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar.lz dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar.xz dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.tar.zst dexon-sol-tools-774971c98c0881dc34ae294a0a9a7d6db55e37c4.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); |