diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-08 07:57:44 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:48 +0800 |
commit | 9cb89725c9289a821db0ebb1809bcd1d0e64c02a (patch) | |
tree | 1395afdd7675b66bdf46d5c31634602ac468477d /packages/pipeline | |
parent | 830d0f3b21ae26a2b683c388211e442e82bc7459 (diff) | |
download | dexon-sol-tools-9cb89725c9289a821db0ebb1809bcd1d0e64c02a.tar.gz dexon-sol-tools-9cb89725c9289a821db0ebb1809bcd1d0e64c02a.tar.zst dexon-sol-tools-9cb89725c9289a821db0ebb1809bcd1d0e64c02a.zip |
Remove unused function parameter in index.ts script
Diffstat (limited to 'packages/pipeline')
-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); |